diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-07-25 16:30:13 +0530 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2019-08-05 13:43:44 +0530 |
commit | a160160419b852b76bfae9dbfe0dfed27753012a (patch) | |
tree | a0c31c831afe24131bef5bb817b7e2c84681df55 /omx | |
parent | d8d23bbb3eaa14244e6395deed80de3ac838441e (diff) | |
download | gst-omx-a160160419b852b76bfae9dbfe0dfed27753012a.tar.gz |
omxvideodec: log supported caps by the decoder
Can be useful when debugging to check the caps supported by the decoder
before filtering.
Diffstat (limited to 'omx')
-rw-r--r-- | omx/gstomxvideodec.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |