[Mplayer-cvslog] CVS: main mplayer.c,1.371,1.372

Alban Bedel CVS albeu at mplayer.dev.hu
Sat Jan 19 18:23:00 CET 2002


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

Modified Files:
	mplayer.c 
Log Message:
Fixed bug with -frames option : don't quit, go to next file !!


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.371
retrieving revision 1.372
diff -u -r1.371 -r1.372
--- mplayer.c	17 Jan 2002 21:22:11 -0000	1.371
+++ mplayer.c	19 Jan 2002 17:22:57 -0000	1.372
@@ -1401,7 +1401,7 @@
 
     if(play_n_frames>=0){
       --play_n_frames;
-      if(play_n_frames<0) exit_player(MSGTR_Exit_frames);
+      if(play_n_frames<0) eof = PT_NEXT_ENTRY;
     }
 
   vo_pts=sh_video->timer*90000.0;




More information about the MPlayer-cvslog mailing list