[Mplayer-cvslog] CVS: main mplayer.c,1.663,1.664

Arpi of Ize arpi at mplayerhq.hu
Sun Jan 26 17:11:11 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv5749

Modified Files:
	mplayer.c 
Log Message:
Secondly, fixed bug where -loop after file would play one too many times.
I've just added a couple of if's in mplayer.c before
it starts play (to make sure its after all the config stuff).
patch by Alex Sisson <alex_sisson at yahoo.co.uk>


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.663
retrieving revision 1.664
diff -u -r1.663 -r1.664
--- mplayer.c	25 Jan 2003 11:36:42 -0000	1.663
+++ mplayer.c	26 Jan 2003 16:11:08 -0000	1.664
@@ -1715,6 +1715,9 @@
 
 //==================== START PLAYING =======================
 
+if(loop_times>1) loop_times--; else
+if(loop_times==1) loop_times = -1;
+
 mp_msg(MSGT_CPLAYER,MSGL_INFO,MSGTR_StartPlaying);fflush(stdout);
 
 InitTimer();



More information about the MPlayer-cvslog mailing list