Commit f7119e42 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent acf24b87
...@@ -1363,7 +1363,7 @@ static int video_thread(void *arg) ...@@ -1363,7 +1363,7 @@ static int video_thread(void *arg)
is->last_dts_for_fault_detection= is->last_dts_for_fault_detection=
is->last_pts_for_fault_detection= INT64_MIN; is->last_pts_for_fault_detection= INT64_MIN;
is->frame_last_pts= AV_NOPTS_VALUE; is->frame_last_pts= AV_NOPTS_VALUE;
is->frame_last_delay = 40e-3; is->frame_last_delay = 0;
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment