mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 16:21:17 +00:00
Add more debug logging for failure cases.
This commit is contained in:
parent
f963f7f14d
commit
24635e7f5a
1 changed files with 7 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue