From d8b8809d57607dfd96973be22d2500145f79a345 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 23 Apr 2013 15:19:14 -0300 Subject: [PATCH] tsdemux: Fix caps string leak --- gst/mpegtsdemux/tsdemux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 5869e21217..30258d38b3 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);