omxvideodec: log supported caps by the decoder
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Thu, 25 Jul 2019 11:00:13 +0000 (16:30 +0530)
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 5 Aug 2019 08:13:44 +0000 (13:43 +0530)
Can be useful when debugging to check the caps supported by the decoder
before filtering.

omx/gstomxvideodec.c

index aa6845a..3d30907 100644 (file)
@@ -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;