videodecoder: add interlace-mode to debug output when setting output state
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 5 Oct 2020 09:38:09 +0000 (11:38 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Fri, 9 Oct 2020 09:04:30 +0000 (11:04 +0200)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/852>

gst-libs/gst/video/gstvideodecoder.c

index 558fde3..0348a3b 100644 (file)
@@ -3791,8 +3791,9 @@ gst_video_decoder_set_interlaced_output_state (GstVideoDecoder * decoder,
   GstVideoDecoderPrivate *priv = decoder->priv;
   GstVideoCodecState *state;
 
-  GST_DEBUG_OBJECT (decoder, "fmt:%d, width:%d, height:%d, reference:%p",
-      fmt, width, height, reference);
+  GST_DEBUG_OBJECT (decoder,
+      "fmt:%d, width:%d, height:%d, interlace-mode: %s, reference:%p", fmt,
+      width, height, gst_video_interlace_mode_to_string (mode), reference);
 
   /* Create the new output state */
   state = _new_output_state (fmt, mode, width, height, reference);