better debugging
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 25 Feb 2004 10:01:31 +0000 (10:01 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 25 Feb 2004 10:01:31 +0000 (10:01 +0000)
Original commit message from CVS:
better debugging

gst/gstpad.c

index 275d2eb..5b113c7 100644 (file)
@@ -2511,10 +2511,10 @@ gst_pad_get_caps (GstPad *pad)
     GstPadTemplate *templ = GST_PAD_PAD_TEMPLATE (realpad);
     const GstCaps *caps;
 
-    GST_CAT_DEBUG (GST_CAT_CAPS, "using pad template %p with caps %p", 
-              templ, GST_PAD_TEMPLATE_CAPS (templ));
-
     caps = GST_PAD_TEMPLATE_CAPS (templ);
+    GST_CAT_DEBUG (GST_CAT_CAPS, "using pad template %p with caps %"GST_PTR_FORMAT,
+              templ, caps);
+
 #if 0
     /* FIXME we should enable something like this someday, but this is
      * a bit buggy */