[vlc-devel] [PATCH 1/2] [RFC] core: add a demux-filter similar to stream-filter for demuxers

Francois Cartegnie fcvlcdev at free.fr
Fri Apr 22 21:47:49 CEST 2016


Le 22/04/2016 17:57, Steve Lhomme a écrit :
> it allows filtering the Demux calls to the underlying muxer
> it can be chained like stream-filters
> internally it's a regular demuxer_t with the p_source demuxer set
> 
> the base value of "demux-filter" is set in libvlc, each input_thread_t has
> their own copy

I'm not fan of "filter" if it does not.
If that's just an anchor point for other filters, that could be a
demux-forward, demux-output, demux-helper, or something else.

>  #define DEMUX_TITLE N_("Demuxers")
>  #define DEMUX_HELP N_( "Demuxers are used to separate audio and video streams." )
>  
> @@ -219,6 +224,7 @@ static const struct config_category_t categories_array[] =
>      { SUBCAT_INPUT_ACODEC, ADEC_TITLE, ADEC_HELP },
>      { SUBCAT_INPUT_SCODEC, SDEC_TITLE, SDEC_HELP },
>      { SUBCAT_INPUT_STREAM_FILTER, STREAM_FILTER_TITLE, STREAM_FILTER_HELP },
> +    { SUBCAT_INPUT_DEMUX_FILTER, DEMUX_FILTER_TITLE, DEMUX_FILTER_HELP },
>  

Internal usage only. Does it need to be visible/listed ?

Francois


More information about the vlc-devel mailing list