aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/aarch64/vc1dsp_init_aarch64.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-01-20 13:28:37 +0100
committerAnton Khirnov <anton@khirnov.net>2014-02-04 22:01:42 +0100
commitd9ae1031f5edbd25c8526b4cb51aba66d3bee931 (patch)
tree8bf19706029f996334e900cb10e47ec97c1d1db7 /libavcodec/aarch64/vc1dsp_init_aarch64.c
parent4c3e1956ee35fdcc5ffdb28782050164b4623c0b (diff)
downloadffmpeg-d9ae1031f5edbd25c8526b4cb51aba66d3bee931.tar.gz
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 'libavcodec/aarch64/vc1dsp_init_aarch64.c')
0 files changed, 0 insertions, 0 deletions