aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-02-01 12:27:26 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-02-01 12:27:26 +0000
commit967030eb24074919f0363e53823cf54d89d12dda (patch)
treea6f1207d5ef372e160fac1ce927d0a15a93bc190 /ffplay.c
parent515bd00e65097dd0e629f74268abfbef422c714d (diff)
downloadffmpeg-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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffplay.c b/ffplay.c
index 8517e80767..122459abe6 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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;
}