From 4e2a0b01e909f9cf125e04b1a8efb9153f8081d5 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 7 Apr 2004 10:42:16 +0000 Subject: [PATCH] better debug info Original commit message from CVS: better debug info --- gst/gstpad.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gst/gstpad.c b/gst/gstpad.c index f1a4285f66..5b2ca9bd67 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -2377,8 +2377,9 @@ gst_pad_set_explicit_caps (GstPad * pad, const GstCaps * caps) g_return_val_if_fail (GST_IS_PAD (pad), FALSE); - GST_CAT_DEBUG (GST_CAT_PADS, "setting explicit caps to %" GST_PTR_FORMAT, - caps); + GST_CAT_DEBUG (GST_CAT_PADS, + "setting explicit caps on %s:%s to %" GST_PTR_FORMAT, + GST_DEBUG_PAD_NAME (pad), caps); if (caps == NULL) { GST_CAT_DEBUG (GST_CAT_PADS, "caps is NULL");