changeset 16730:8ba196af5609

-frames plays one frame too many.
author reimar
date Tue, 11 Oct 2005 15:51:46 +0000
parents 7fec6a25dc6e
children be1316b8d1f6
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Oct 11 15:26:08 2005 +0000
+++ b/mplayer.c	Tue Oct 11 15:51:46 2005 +0000
@@ -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!