mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
mssdemux: fix caps leak
This commit is contained in:
parent
6b8448c245
commit
a1f87d0b4f
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue