From a40429d6ce2325c9aea04810fdcf11e44e8b1f3d Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 3 Jul 2005 10:09:09 +0000 Subject: Do not count skipped/broken frames when using -frames git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15896 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mencoder.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mencoder.c') diff --git a/mencoder.c b/mencoder.c index beed3a1e71..8e1a454252 100644 --- a/mencoder.c +++ b/mencoder.c @@ -1273,6 +1273,8 @@ default: 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? -- cgit v1.2.3