tsdemux: Fix caps string leak
This commit is contained in:
parent
9f25db0981
commit
d8b8809d57
@ -1003,8 +1003,8 @@ done:
|
|||||||
if (template && name && caps) {
|
if (template && name && caps) {
|
||||||
gchar *stream_id;
|
gchar *stream_id;
|
||||||
|
|
||||||
GST_LOG ("stream:%p creating pad with name %s and caps %s", stream, name,
|
GST_LOG ("stream:%p creating pad with name %s and caps %" GST_PTR_FORMAT,
|
||||||
gst_caps_to_string (caps));
|
stream, name, caps);
|
||||||
pad = gst_pad_new_from_template (template, name);
|
pad = gst_pad_new_from_template (template, name);
|
||||||
gst_pad_set_active (pad, TRUE);
|
gst_pad_set_active (pad, TRUE);
|
||||||
gst_pad_use_fixed_caps (pad);
|
gst_pad_use_fixed_caps (pad);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user