tsdemux: Fix caps string leak

This commit is contained in:
Thiago Santos 2013-04-23 15:19:14 -03:00 committed by Sebastian Dröge
parent 9f25db0981
commit d8b8809d57

View 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);