From a160160419b852b76bfae9dbfe0dfed27753012a Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 25 Jul 2019 16:30:13 +0530 Subject: [PATCH] omxvideodec: log supported caps by the decoder Can be useful when debugging to check the caps supported by the decoder before filtering. --- omx/gstomxvideodec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/omx/gstomxvideodec.c b/omx/gstomxvideodec.c index aa6845a..3d30907 100644 --- a/omx/gstomxvideodec.c +++ b/omx/gstomxvideodec.c @@ -2062,6 +2062,9 @@ gst_omx_video_dec_negotiate (GstOMXVideoDec * self) comp_supported_caps = gst_omx_video_get_caps_for_map (negotiation_map); + GST_DEBUG_OBJECT (self, "Decoder supported caps: %" GST_PTR_FORMAT, + comp_supported_caps); + if (!gst_caps_is_empty (comp_supported_caps)) { GstCaps *tmp; -- 2.7.4