changeset 4260:d0b80b2a136f

Fixed bug with -frames option : don't quit, go to next file !!
author albeu
date Sat, 19 Jan 2002 17:22:57 +0000
parents f96a2b9b41eb
children 703d08e4467b
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Jan 19 17:02:50 2002 +0000
+++ b/mplayer.c	Sat Jan 19 17:22:57 2002 +0000
@@ -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;