Add more debug logging for failure cases.

This commit is contained in:
Stefan Kost 2009-01-25 22:17:31 +02:00
parent f963f7f14d
commit 24635e7f5a

View file

@ -998,8 +998,15 @@ gst_element_get_compatible_pad (GstElement * element, GstPad * pad,
return current;
}
else {
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS, "incompatible pads");
}
gst_caps_unref (intersection);
}
else {
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS,
"already linked or cannot be linked (peer = %p)", peer);
}
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS, "unreffing pads");
gst_object_unref (current);