summaryrefslogtreecommitdiffstats
path: root/mencoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mencoder.c')
-rw-r--r--mencoder.c2
1 files changed, 2 insertions, 0 deletions
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?