diff options
author | Danny Wu <admin@glados.cc> | 2021-05-12 08:51:13 -0400 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-02-13 10:46:47 -0300 |
commit | 68595b46cb374658432fff998e82e5ff434557ac (patch) | |
tree | c3979b84010b23713b732bd68de66a300ac29398 /libavcodec/hq_hqadata.c | |
parent | 2233ef1db9059758bcf0ac3ea5630a72d7e838c1 (diff) | |
download | ffmpeg-68595b46cb374658432fff998e82e5ff434557ac.tar.gz |
fftools/ffmpeg: Restore DTS correction for VP9 copies
Fixes ticket 9086.
Since early 2021, some of YouTube's VP9 encodes have non-monotonous DTS.
This makes ffmpeg fatally fail when trying to copy or encode the V9 video.
ffmpeg already includes functionality to correct this, however it was
disabled without explanation for VP9 stream copies in
2e6636aa87303d37b112e79f093ca39500f92364
This patch restores the DTS correction logic, and allows ffmpeg to correctly
encode (invalid) videos produced by youtube.com. I have verified that frames
are NOT being cut (so it does not re-introduce 4313).
Reviwed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hq_hqadata.c')
0 files changed, 0 insertions, 0 deletions