Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-01-20 16:28:37 +0400
committerAnton Khirnov <anton@khirnov.net>2014-02-05 01:01:42 +0400
commitd9ae1031f5edbd25c8526b4cb51aba66d3bee931 (patch)
tree8bf19706029f996334e900cb10e47ec97c1d1db7 /libavutil
parent4c3e1956ee35fdcc5ffdb28782050164b4623c0b (diff)
lavf: improve handling of sparse streams when muxing
Currently ff_interleave_packet_per_dts() waits until it gets a frame for each stream before outputting packets in interleaved order. Sparse streams (i.e. streams with much fewer packets than the other streams, like subtitles or audio with DTX) tend to add up latency and in specific cases end up allocating a large amount of memory. Emit the top packet from the packet_buffer if it has a time delta larger than a specified threshold. Original report of the issue and initial proposed solution by mus.svz@gmail.com. Bug-id: 31 Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil')
0 files changed, 0 insertions, 0 deletions