Skip to content

Commit

Permalink
videodecoder: add interlace-mode to debug output when setting output …
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Desmottes authored and tp-m committed Oct 10, 2020
1 parent ed36a63 commit 68bc90d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gst-libs/gst/video/gstvideodecoder.c
Expand Up @@ -3651,8 +3651,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);
Expand Down

0 comments on commit 68bc90d

Please sign in to comment.