[vlc-devel] [PATCH 1/2] input: add DEMUX_SET_ES notification

Francois Cartegnie fcvlcdev at free.fr
Mon Dec 9 14:21:56 CET 2013


Le 09/12/2013 10:21, Denis Charmet a écrit :
> Hi,
> Le samedi 07 décembre 2013 à 02:42:52, Francois Cartegnie a écrit :
>> I don't think modifying the es_out_Add and holding a ref to the input
>> source is feasible (and input_source_t is also for core use only).
> 
> I agree with that, especially since mkv tries to keep the decoders when
> it changes segments (so inputs).
> 
>> Alternatives:
>> - The demux can just ignore unknown ids.
>> - Register for callbacks on all or some ES.
> 
> Or you can use the es_out_id_t * instead of int.

I don't see the point.
Input can't still associate a demux instance to the es id created on
es_out_Add call.

Francois




More information about the vlc-devel mailing list