[vlc-devel] [RFC-PATCH] core/audio_output: do not drop (late) audio blocks if it would cause silence

Rémi Denis-Courmont remi at remlab.net
Thu May 12 19:12:15 CEST 2016

On Thursday 12 May 2016 16:38:08 Filip Roséen wrote:
> When aout_DecPlay notices that a block is more than AOUT_MAX_PTS_DELAY
> late, it used to unconditionally drop the block.
> This patch makes sure that we do not drop blocks whose duration is
> longer than the current drift; meaning that we favor resampling over
> blunt silence.

I do not think that comparing duration and delay makes any 
mathematical/physical sense. The result will be even more arbitrary than it 
currently is.

Rémi Denis-Courmont

More information about the vlc-devel mailing list