basetransform: Improve debug output in gst_base_transform_acceptcaps()

Fixes bug #589524.
This commit is contained in:
Kipp Cannon 2009-07-28 20:42:20 +02:00 committed by Sebastian Dröge
parent 6fd97a6d64
commit 6bc2bf8307

View file

@ -1000,8 +1000,12 @@ gst_base_transform_acceptcaps (GstPad * pad, GstCaps * caps)
/* get all the formats we can handle on this pad */
allowed = gst_pad_get_caps (pad);
if (!allowed)
if (!allowed) {
GST_DEBUG_OBJECT (pad, "gst_pad_get_caps() failed");
goto no_transform_possible;
}
GST_DEBUG_OBJECT (pad, "allowed caps %" GST_PTR_FORMAT, allowed);
/* intersect with the requested format */
intersect = gst_caps_intersect (allowed, caps);