diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-02-13 16:35:21 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-03-13 08:01:15 +0100 |
commit | daca5d1241f33c9a457be1a9afcf058206c263b3 (patch) | |
tree | e15a9e968d2c0d8c2645c4361950c4afcb4ed010 /libavformat/mp3enc.c | |
parent | ddaedde7a81edb5cfd55a67a847c491cd7aab61c (diff) | |
download | ffmpeg-daca5d1241f33c9a457be1a9afcf058206c263b3.tar.gz |
fftools/ffmpeg_filter: refactor setting input timebase
Treat it analogously to stream parameters like format/dimensions/etc.
This is functionally different from previous code in 2 ways:
* for non-CFR video, the frame timebase (set by the decoder) is used
rather than the demuxer timebase
* for sub2video, AV_TIME_BASE_Q is used, which is hardcoded by the
subtitle decoding API
These changes should avoid unnecessary and potentially lossy timestamp
conversions from decoder timebase into the demuxer one.
Changes the timebases used in sub2video tests.
Diffstat (limited to 'libavformat/mp3enc.c')
0 files changed, 0 insertions, 0 deletions