diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-04-09 15:01:29 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-04-13 15:34:07 +0200 |
commit | cea71b213901488714cb3c16671b92091390b9f6 (patch) | |
tree | 215941c1e0029746f97d2c2bcd0634a32bd23037 /libavcodec/utvideo.h | |
parent | 5d407cb2d71176240487171bb0e803c3d2e36f15 (diff) | |
download | ffmpeg-cea71b213901488714cb3c16671b92091390b9f6.tar.gz |
fftools/ffmpeg: stop using fake dts for generating timestamps
When no packet dts values are available from the container, video
decoding code will currently use its own guessed values, which will then
be propagated to pkt_dts on decoded frames and used as pts in certain
cases. This is inaccurate, fragile, and unnecessarily convoluted.
Simply removing this allows the extrapolation code introduced in the
previous commit to do a better job.
Changes the results of numerous h264 and hevc FATE tests, where no
spurious timestamp gaps are generated anymore. Several tests no longer
need -vsync passthrough.
Diffstat (limited to 'libavcodec/utvideo.h')
0 files changed, 0 insertions, 0 deletions