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

Vikram Fugro vikram.fugro at gmail.com
Sun Jun 28 14:36:41 CEST 2020


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 ));
+
     /* 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 )
-- 
2.25.1



More information about the vlc-devel mailing list