[vlc-devel] [RFC PATCH 0/2] decoder: restart module if fmt_in changes
remi at remlab.net
Mon Sep 7 15:36:25 CEST 2015
Le 2015-09-07 16:30, Thomas Guillem a écrit :
> Then, should we add a b_packetized variable in decoder_t to inform
> decoder module if data will be packetized ? That way, some decoders
> able to fail at init if they are known to work only with packetized
How do you decide when to use a packetizer then though?
If you try without one first, then you may change the (effective)
prioritization of decoders in rather undesirable ways. We do have cases
where a single codec has packetized and non-packetized decoders,
although I am not sure what the relative priorities are.
If you try with one, then b_packetized will be constantly true.
More information about the vlc-devel