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/6943>
This commit is contained in:
Jan Schmidt 2024-05-28 16:27:39 +03:00 committed by Nirbheek Chauhan
parent 0f8fc27892
commit e76581fe93

View file

@ -1218,7 +1218,8 @@ gst_element_get_compatible_pad (GstElement * element, GstPad * pad,
} }
} else { } else {
GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS, 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"); GST_CAT_DEBUG (GST_CAT_ELEMENT_PADS, "unreffing pads");