[vlc-devel] [RFC PATCH 0/2] decoder: restart module if fmt_in changes

Rémi Denis-Courmont 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 
> the
> decoder module if data will be packetized ? That way, some decoders 
> will
> able to fail at init if they are known to work only with packetized
> data.

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.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list