[vlc-devel] [RFC PATCH 1/2] packetizer: h264: also update dec extra from pf_packetize
remi at remlab.net
Wed Apr 22 11:35:14 CEST 2015
Le 2015-04-22 12:29, Francois Cartegnie a écrit :
> Le 22/04/2015 11:25, Rémi Denis-Courmont a écrit :
>> I don't think that's how it should work. Extra data should not
>> it is primarily intended for out-of-band codec parameters (such as
>> fmtp field for RTP). Muxers and RTP stream output would not cope
>> changing extra data, and probably not all decoders either. How would
>> decoder even know that it needs to reread the data?
>> It seems to me that you are trying to have the packetizer match bugs
>> your decoder.
> Or the hls segments are AVCC only and the packetizer only creates
> from the i_extra and then there's no update sent on segment change.
I have no idea what you mean by that. IMHO extra data cannot change. I
just don't see how that can reasonably be made to work in all affected
If you want to send new parameters set(s), you can always send them
in-band. That is to say, the demuxer can do that if it needs to update
the parameters. The packetizer should simply pass the new parameters as
any other data block.
More information about the vlc-devel