[vlc-devel] [PATCH] expose demux_New

Rémi Denis-Courmont remi at remlab.net
Tue Oct 6 11:44:29 CEST 2015


Le 2015-10-06 01:57, Francois Cartegnie a écrit :
> ---
>  include/vlc_demux.h      | 46 
> +++++++++++++++++++++++++++++++++++++++++-----
>  src/input/demux.c        | 24 +++++++++++++++++++-----
>  src/input/demux.h        | 31 ++++---------------------------
>  src/input/input.c        | 10 +++++-----
>  src/input/stream_demux.c |  4 ++--
>  src/libvlccore.sym       |  2 ++
>  6 files changed, 73 insertions(+), 44 deletions(-)
>
> diff --git a/include/vlc_demux.h b/include/vlc_demux.h
> index e0b4c49..866faf8 100644
> --- a/include/vlc_demux.h
> +++ b/include/vlc_demux.h
> @@ -183,7 +183,47 @@ enum demux_query_e
>      DEMUX_NAV_RIGHT,           /* res=can fail */
>  };
>
> -VLC_API int demux_vaControlHelper( stream_t *, int64_t i_start,
> int64_t i_end, int64_t i_bitrate, int i_align, int i_query, va_list
> args );
> 
> +/*************************************************************************
> + * Main Demux
> + 
> *************************************************************************/
> +
> +/* stream_t *s could be null and then it mean a access+demux in one 
> */
> +VLC_API demux_t *demux_New( vlc_object_t *p_obj, const char 
> *psz_name,
> +                            const char *psz_path, stream_t *s,
> es_out_t *out, bool );

Do we foresee any use for the boolean parameter? I'd drop it too.

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


More information about the vlc-devel mailing list