videodecoder: add interlace-mode to debug output when setting output state

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/852>
This commit is contained in:
Guillaume Desmottes 2020-10-05 11:38:09 +02:00
parent 52793dbfca
commit a19a27a4ca

View 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);