aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mmvideo.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-10-14 13:12:42 +0200
committerAnton Khirnov <anton@khirnov.net>2024-10-17 10:57:18 +0200
commit242ee7b0a23fdd116869c0556001f67102d6b049 (patch)
tree5aa4489468bbcf74a02c0ce3dfe2e4c318d191df /libavcodec/mmvideo.c
parent6d6bd86f2b977b415fb46bd9232290499edbb167 (diff)
downloadffmpeg-242ee7b0a23fdd116869c0556001f67102d6b049.tar.gz
fftools/ffmpeg_sched: be smarter about flushing the pre-muxing queues
These per-stream FIFOs hold the packets before every stream is initialized and the header can be written. Once that happens, current code will flush each stream's queue one after the other. However, in case we buffered a lot of data for multiple streams, this may cause the muxer to overflow max_interleave_delta, resulting in worse interleaving than necessary. Change the code to interleave packets from all the queues by DTS.
Diffstat (limited to 'libavcodec/mmvideo.c')
0 files changed, 0 insertions, 0 deletions