mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
basetransform: Improve debug output in gst_base_transform_acceptcaps()
Fixes bug #589524.
This commit is contained in:
parent
6fd97a6d64
commit
6bc2bf8307
1 changed files with 5 additions and 1 deletions
|
@ -1000,8 +1000,12 @@ gst_base_transform_acceptcaps (GstPad * pad, GstCaps * caps)
|
||||||
|
|
||||||
/* get all the formats we can handle on this pad */
|
/* get all the formats we can handle on this pad */
|
||||||
allowed = gst_pad_get_caps (pad);
|
allowed = gst_pad_get_caps (pad);
|
||||||
if (!allowed)
|
if (!allowed) {
|
||||||
|
GST_DEBUG_OBJECT (pad, "gst_pad_get_caps() failed");
|
||||||
goto no_transform_possible;
|
goto no_transform_possible;
|
||||||
|
}
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (pad, "allowed caps %" GST_PTR_FORMAT, allowed);
|
||||||
|
|
||||||
/* intersect with the requested format */
|
/* intersect with the requested format */
|
||||||
intersect = gst_caps_intersect (allowed, caps);
|
intersect = gst_caps_intersect (allowed, caps);
|
||||||
|
|
Loading…
Reference in a new issue