Browse Source

ffplay: only update pts if not redisplaying a frame

Signed-off-by: Marton Balint <cus@passwd.hu>
tags/n2.0
Marton Balint 12 years ago
parent
commit
35b2f30fd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ffplay.c

+ 1
- 1
ffplay.c View File

@@ -1382,7 +1382,7 @@ retry:
is->frame_timer += delay * FFMAX(1, floor((time-is->frame_timer) / delay));

SDL_LockMutex(is->pictq_mutex);
if (!isnan(vp->pts))
if (!redisplay && !isnan(vp->pts))
update_video_pts(is, vp->pts, vp->pos, vp->serial);
SDL_UnlockMutex(is->pictq_mutex);



Loading…
Cancel
Save