omxvideodec: log supported caps by the decoder

Can be useful when debugging to check the caps supported by the decoder
before filtering.
This commit is contained in:
Guillaume Desmottes 2019-07-25 16:30:13 +05:30
parent d8d23bbb3e
commit a160160419

View 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;