From 74158bbf371c2fcbc5b0c64bb489325b4e098f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 29 Jul 2016 08:54:00 +0300 Subject: [PATCH] amc: Print generated raw/encoded caps in debug logs --- sys/androidmedia/gstamc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/androidmedia/gstamc.c b/sys/androidmedia/gstamc.c index 9eb4a50bb9..0da6a2931d 100644 --- a/sys/androidmedia/gstamc.c +++ b/sys/androidmedia/gstamc.c @@ -3832,6 +3832,10 @@ gst_amc_codec_info_to_caps (const GstAmcCodecInfo * codec_info, } } } + + GST_DEBUG ("Returning caps for '%s':", codec_info->name); + GST_DEBUG (" raw caps: %" GST_PTR_FORMAT, raw_ret); + GST_DEBUG (" encoded caps: %" GST_PTR_FORMAT, encoded_ret); } GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,