diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-01 12:27:26 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-01 12:27:26 +0000 |
commit | 967030eb24074919f0363e53823cf54d89d12dda (patch) | |
tree | a6f1207d5ef372e160fac1ce927d0a15a93bc190 /ffplay.c | |
parent | 515bd00e65097dd0e629f74268abfbef422c714d (diff) | |
download | ffmpeg-967030eb24074919f0363e53823cf54d89d12dda.tar.gz |
Reset frame_last_pts on flush (and thus also at start)
fixes issue558 and probably others.
Originally committed as revision 21590 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1362,6 +1362,8 @@ static int video_thread(void *arg) is->last_dts_for_fault_detection= is->last_pts_for_fault_detection= INT64_MIN; + is->frame_last_pts= AV_NOPTS_VALUE; + continue; } |