From a86803ae3aae5b7b8ec5444d146bf24315aaf589 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 28 May 2024 16:27:39 +0300 Subject: [PATCH] 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: --- subprojects/gstreamer/gst/gstutils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/subprojects/gstreamer/gst/gstutils.c b/subprojects/gstreamer/gst/gstutils.c index b45fb2b91d..24880d3691 100644 --- a/subprojects/gstreamer/gst/gstutils.c +++ b/subprojects/gstreamer/gst/gstutils.c @@ -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");