diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-02-01 12:31:28 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-02-01 12:31:28 +0000 |
commit | f7119e42e11f4cac07ad30ddd21b6f77e7f65978 (patch) | |
tree | 1adbfb88177446454fc01d13bef48bfc16317b9d /ffplay.c | |
parent | acf24b870f2a2c50b559487201e951e62d9d09ab (diff) | |
download | ffmpeg-f7119e42e11f4cac07ad30ddd21b6f77e7f65978.tar.gz |
Reset frame_last_delay to 0.
This avoids a few ms delay for the first frame after a seek in theory.
Originally committed as revision 21592 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1363,7 +1363,7 @@ 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; - is->frame_last_delay = 40e-3; + is->frame_last_delay = 0; continue; } |