[vlc-devel] [PATCH 2/2] avcodec: initialize buffers when first frame comes in

Rémi Denis-Courmont remi at remlab.net
Fri Sep 20 11:04:28 CEST 2013


Currently, the transcode plugin does not seem to handle correctly the case
whereby the output format of an audio decoder changes. It just assumes the
audio format is set by the decoder in pf_activate() and never changes. Both
of those assumptions are of course wrong.

Tweaking the avcodec encoder will not really solve the problem. Filters
will still break, other encoder plugins will still break, and even avcodec
will still break if the audio format changes dynamically.

-- 
Rémi Denis-Courmont
Sent from my collocated server



More information about the vlc-devel mailing list