diff options
author | Marton Balint <cus@passwd.hu> | 2013-05-25 12:48:20 +0200 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2013-06-01 12:50:46 +0200 |
commit | 35b2f30fd119c404e37b4b48cfb89f63a648a4ed (patch) | |
tree | 4a50b4b4bb359d5721f7f9a8053fac3630184675 /ffplay.c | |
parent | e341cb1102c0cf29fe8a3ec29f968e3c45e2a15e (diff) | |
download | ffmpeg-35b2f30fd119c404e37b4b48cfb89f63a648a4ed.tar.gz |
ffplay: only update pts if not redisplaying a frame
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |