Skip to content
Snippets Groups Projects
Commit 318d0fcb authored by Sasi Inguva's avatar Sasi Inguva Committed by Derek Buitenhuis
Browse files

lavf/mov.c: Fix timestamps to be strictly monotonic for video also.


We already do this for audio, but it should be done for video too.
If we don't, seeking back to the start of the file, for example, can
become quite broken, since the first N packets will have repeating
and nonmonotonic PTS, yet they need to be decoded even if they are
to be discarded.

Signed-off-by: default avatarSasi Inguva <isasi@isasi.mtv.corp.google.com>
Signed-off-by: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
parent d8c0bbb0
No related branches found
No related tags found
No related merge requests found
Loading
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