Skip to content
Snippets Groups Projects
Commit 967030eb authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

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
parent 515bd00e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment