Plug a memory leak in a debug message.
authorPeter Kjellerstedt <pkj@axis.com>
Mon, 26 Jan 2009 15:14:47 +0000 (16:14 +0100)
committerPeter Kjellerstedt <pkj@axis.com>
Mon, 26 Jan 2009 15:14:47 +0000 (16:14 +0100)
gst/multipart/multipartdemux.c

index eeffd4e..3d0cfd7 100644 (file)
@@ -522,8 +522,8 @@ gst_multipart_demux_chain (GstPad * pad, GstBuffer * buf)
     GST_DEBUG_OBJECT (multipart,
         "pushing buffer with timestamp %" GST_TIME_FORMAT,
         GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (outbuf)));
-    GST_DEBUG_OBJECT (multipart, "buffer has caps %s",
-        gst_caps_to_string (GST_BUFFER_CAPS (outbuf)));
+    GST_DEBUG_OBJECT (multipart, "buffer has caps %" GST_PTR_FORMAT,
+        GST_BUFFER_CAPS (outbuf));
     res = gst_pad_push (srcpad->pad, outbuf);
     if (res != GST_FLOW_OK)
       break;