mirror of https://github.com/FFmpeg/FFmpeg.git
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.master
parent
6d6bd86f2b
commit
242ee7b0a2
1 changed files with 35 additions and 5 deletions
Loading…
Reference in new issue