tsdemux: Fix caps string leak
authorThiago Santos <thiago.sousa.santos@collabora.com>
Tue, 23 Apr 2013 18:19:14 +0000 (15:19 -0300)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Wed, 24 Apr 2013 10:28:17 +0000 (12:28 +0200)
gst/mpegtsdemux/tsdemux.c

index 5869e21..30258d3 100644 (file)
@@ -1003,8 +1003,8 @@ done:
   if (template && name && caps) {
     gchar *stream_id;
 
-    GST_LOG ("stream:%p creating pad with name %s and caps %s", stream, name,
-        gst_caps_to_string (caps));
+    GST_LOG ("stream:%p creating pad with name %s and caps %" GST_PTR_FORMAT,
+        stream, name, caps);
     pad = gst_pad_new_from_template (template, name);
     gst_pad_set_active (pad, TRUE);
     gst_pad_use_fixed_caps (pad);