Commit a1f87d0b authored by Thiago Santos's avatar Thiago Santos

mssdemux: fix caps leak

parent 6b8448c2
......@@ -883,6 +883,8 @@ gst_mss_demux_expose_stream (GstMssDemux * mssdemux, GstMssDemuxStream * stream)
g_free (name);
gst_pad_set_caps (pad, caps);
if (stream->caps)
gst_caps_unref (stream->caps);
stream->caps = caps;
lang = gst_mss_stream_get_lang (stream->manifest_stream);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment