[vlc-devel] [RFC PATCH 0/2] decoder: restart module if fmt_in changes
thomas at gllm.fr
Mon Sep 7 15:49:18 CEST 2015
On Mon, Sep 7, 2015, at 15:36, Rémi Denis-Courmont wrote:
> 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 we decide to phase out b_need_packetizer, then we always try to
create a packetizer before the decoder. So, b_packetized will always be
true except for the case where no packetizer could be created (if a
module is missing for example).
> 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
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
More information about the vlc-devel