diff mencoder.c @ 15895:7742302e793d

Do not count skipped/broken frames when using -frames
author reimar
date Sun, 03 Jul 2005 10:09:09 +0000
parents da752f91c5f2
children 11966749d065
line wrap: on
line diff
--- a/mencoder.c	Sat Jul 02 23:33:40 2005 +0000
+++ b/mencoder.c	Sun Jul 03 10:09:09 2005 +0000
@@ -1273,6 +1273,8 @@
     if (sh_video->vf_inited < 0) mencoder_exit(1, NULL);
     
     if(!blit_frame){
+      if (play_n_frames >= 0)
+        play_n_frames++;
       badframes++;
       if(skip_flag<=0){
 	// unwanted skipping of a frame, what to do?