core: Log pad name, not just the pointer

Change a debug statement that was just logging a pad pointer where
it could log the pad name more usefully.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7336>
This commit is contained in:
Jan Schmidt 2024-05-28 16:27:39 +03:00 committed by Backport Bot
parent c4af350105
commit a86803ae3a

View file

@ -1218,7 +1218,8 @@ gst_element_get_compatible_pad (GstElement * element, GstPad * pad,
}
} else {
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS,
"already linked or cannot be linked (peer = %p)", peer);
"already linked or cannot be linked (peer = %" GST_PTR_FORMAT ")",
peer);
}
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS, "unreffing pads");