collectpads: Use GST_PTR_FORMAT in debug to output buffer details
authorJan Schmidt <jan@centricular.com>
Tue, 7 Oct 2014 14:33:51 +0000 (01:33 +1100)
committerJan Schmidt <jan@centricular.com>
Tue, 7 Oct 2014 14:33:51 +0000 (01:33 +1100)
Use %GST_PTR_FORMAT instead of %p in debug output so all the buffer
details are output

libs/gst/base/gstcollectpads.c

index 992446b..637e3b4 100644 (file)
@@ -939,7 +939,7 @@ gst_collect_pads_peek (GstCollectPads * pads, GstCollectData * data)
   if ((result = data->buffer))
     gst_buffer_ref (result);
 
-  GST_DEBUG_OBJECT (pads, "Peeking at pad %s:%s: buffer=%p",
+  GST_DEBUG_OBJECT (pads, "Peeking at pad %s:%s: buffer=%" GST_PTR_FORMAT,
       GST_DEBUG_PAD_NAME (data->pad), result);
 
   return result;
@@ -978,7 +978,7 @@ gst_collect_pads_pop (GstCollectPads * pads, GstCollectData * data)
 
   GST_COLLECT_PADS_EVT_BROADCAST (pads);
 
-  GST_DEBUG_OBJECT (pads, "Pop buffer on pad %s:%s: buffer=%p",
+  GST_DEBUG_OBJECT (pads, "Pop buffer on pad %s:%s: buffer=%" GST_PTR_FORMAT,
       GST_DEBUG_PAD_NAME (data->pad), result);
 
   return result;