[vlc-devel] [PATCH 01/10] [RFC] core: add demux-filter objects to intercept & filter demuxer calls
Rémi Denis-Courmont
remi at remlab.net
Mon May 9 16:53:55 CEST 2016
Le 2016-05-09 13:18, Steve Lhomme a écrit :
> diff --git a/include/vlc_demux.h b/include/vlc_demux.h
> index 45f5416..836adac 100644
> --- a/include/vlc_demux.h
> +++ b/include/vlc_demux.h
> @@ -40,12 +40,23 @@
> * Demultiplexer modules interface
> */
>
> +#define DEMUX_FILTER_COMMON_MEMBERS
> \
> + VLC_COMMON_MEMBERS
> \
> + module_t *p_module;
> \
> + union {
> \
> + int (*pf_demux) ( demux_t * );
> \
> + int (*pf_filter_demux)( demux_filter_t * );
> \
> + };
> \
> + union {
> \
> + int (*pf_control)( demux_t *, int i_query, va_list args);
> \
> + int (*pf_filter_control)( demux_filter_t *, int i_query,
> va_list args); \
> + };
> \
> + demux_sys_t *p_sys;
> \
> + demux_filter_t *p_next;
> +
This is as ugly and unjustified as it was before.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list