summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorThiago Santos <thiago.sousa.santos@collabora.com>2013-04-23 15:19:14 -0300
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-24 12:28:17 +0200
commitd8b8809d57607dfd96973be22d2500145f79a345 (patch)
treee6b5c3a9ee29db9f9ba7455284cd7e1b786e6249 /gst
parent9f25db09817ef9ab049f4ffb102806f6a57571f9 (diff)
tsdemux: Fix caps string leak
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegtsdemux/tsdemux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c
index 5869e2121..30258d38b 100644
--- a/gst/mpegtsdemux/tsdemux.c
+++ b/gst/mpegtsdemux/tsdemux.c
@@ -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);