diff options
author | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2017-08-10 01:43:15 +0200 |
---|---|---|
committer | Mathieu Duponchelle <mathieu.duponchelle@opencreed.com> | 2017-08-10 13:55:59 +0200 |
commit | 29c4ecbc253c5cbe7f51fc6b7e262bae0daff216 (patch) | |
tree | 5be57550402ddb23200dd11e56bb6d73e5b83d5a /gst | |
parent | 212df08f4ea54a1aa93fa76cc9c890d046a17a5a (diff) | |
download | gstreamer-plugins-bad-29c4ecbc253c5cbe7f51fc6b7e262bae0daff216.tar.gz |
compositor: improve conversion debugging
https://bugzilla.gnome.org/show_bug.cgi?id=786078
Diffstat (limited to 'gst')
-rw-r--r-- | gst/compositor/compositor.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index dceca349c..81744e34f 100644 --- a/gst/compositor/compositor.c +++ b/gst/compositor/compositor.c @@ -314,9 +314,13 @@ gst_compositor_pad_set_info (GstVideoAggregatorPad * pad, tmp_info.flags = current_info->flags; tmp_info.interlace_mode = current_info->interlace_mode; - GST_DEBUG_OBJECT (pad, "This pad will be converted from %d to %d", - GST_VIDEO_INFO_FORMAT (current_info), - GST_VIDEO_INFO_FORMAT (&tmp_info)); + GST_DEBUG_OBJECT (pad, "This pad will be converted from format %s to %s, " + "colorimetry %s to %s, chroma-site %s to %s, " + "width/height %d/%d to %d/%d", + current_info->finfo->name, tmp_info.finfo->name, + colorimetry, best_colorimetry, + chroma, best_chroma, + current_info->width, current_info->height, width, height); cpad->convert = gst_video_converter_new (current_info, &tmp_info, NULL); cpad->conversion_info = tmp_info; |