[vlc-devel] [PATCH] sout: privatise sout_packetizer_input_t

Steve Lhomme robux4 at ycbcr.xyz
Mon Oct 12 09:24:15 CEST 2020


There's also some vlc.vim definition that seems incorrect.

On 2020-10-11 20:23, RĂ©mi Denis-Courmont wrote:
> ---
>   src/stream_output/stream_output.c | 7 +++++++
>   src/stream_output/stream_output.h | 9 ---------
>   2 files changed, 7 insertions(+), 9 deletions(-)
> 
> diff --git a/src/stream_output/stream_output.c b/src/stream_output/stream_output.c
> index e6f336a1d5..7d2b633c7b 100644
> --- a/src/stream_output/stream_output.c
> +++ b/src/stream_output/stream_output.c
> @@ -154,6 +154,13 @@ bool sout_instance_ControlsPace( sout_instance_t *sout )
>   /*****************************************************************************
>    * Packetizer/Input
>    *****************************************************************************/
> +
> +struct sout_packetizer_input_t
> +{
> +    void                *id;
> +    bool                 b_flushed;
> +};
> +
>   sout_packetizer_input_t *sout_InputNew( sout_instance_t *p_sout,
>                                           const es_format_t *p_fmt )
>   {
> diff --git a/src/stream_output/stream_output.h b/src/stream_output/stream_output.h
> index 4e2b62fd26..09b6a1505e 100644
> --- a/src/stream_output/stream_output.h
> +++ b/src/stream_output/stream_output.h
> @@ -38,15 +38,6 @@ struct sout_instance_t
>       sout_stream_t       *p_stream;
>   };
>   
> -/****************************************************************************
> - * sout_packetizer_input_t: p_sout <-> p_packetizer
> - ****************************************************************************/
> -struct sout_packetizer_input_t
> -{
> -    void                *id;
> -    bool                 b_flushed;
> -};
> -
>   sout_instance_t *sout_NewInstance( vlc_object_t *, const char * );
>   #define sout_NewInstance(a,b) sout_NewInstance(VLC_OBJECT(a),b)
>   void sout_DeleteInstance( sout_instance_t * );
> -- 
> 2.28.0
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list