[MPlayer-cvslog] CVS: main mplayer.c,1.873,1.874

Reimar Döffinger CVS syncmail at mplayerhq.hu
Tue Oct 11 17:51:49 CEST 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv6811

Modified Files:
	mplayer.c 
Log Message:
-frames plays one frame too many.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.873
retrieving revision 1.874
diff -u -r1.873 -r1.874
--- mplayer.c	4 Oct 2005 13:59:25 -0000	1.873
+++ mplayer.c	11 Oct 2005 15:51:46 -0000	1.874
@@ -2630,7 +2630,7 @@
 	   if(vo_config_count) video_out->flip_page();
 	   if (play_n_frames >= 0) {
 	     --play_n_frames;
-	     if (play_n_frames < 0) eof = PT_NEXT_ENTRY;
+	     if (play_n_frames <= 0) eof = PT_NEXT_ENTRY;
 	   }
 
 //        usec_sleep(50000); // test only!




More information about the MPlayer-cvslog mailing list