[vlc-devel] [PATCH 3/4] gstdecode: Add an info message

Rémi Denis-Courmont remi at remlab.net
Sun Jun 28 16:47:18 CEST 2020


Le sunnuntaina 28. kesäkuuta 2020, 15.36.41 EEST Vikram Fugro a écrit :
> Add info message for input video representation
> in gstreamer format
> ---
>  modules/codec/gstreamer/gstdecode.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/modules/codec/gstreamer/gstdecode.c
> b/modules/codec/gstreamer/gstdecode.c index 37ad788d7c..118138dcbe 100644
> --- a/modules/codec/gstreamer/gstdecode.c
> +++ b/modules/codec/gstreamer/gstdecode.c
> @@ -479,6 +479,8 @@ static int OpenDecoder( vlc_object_t *p_this )
>      if( !p_str )
>          return VLC_EGENERIC;
> 
> +    msg_Info( p_dec, "Input video format: %s", gst_structure_to_string(
> p_str ));
> +

This looks more like debug. I don't get why it is granted info precedence.

>      /* Allocate the memory needed to store the decoder's structure */
>      p_sys = p_dec->p_sys = calloc( 1, sizeof( *p_sys ) );
>      if( p_sys == NULL )


-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list