mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
matroskamux: Fix leaking of the streamheader buffers
gst_value_set_buffer() increases the refcount and doesn't take ownership of the buffer.
This commit is contained in:
parent
19216e7218
commit
8172c478aa
1 changed files with 1 additions and 0 deletions
|
@ -2500,6 +2500,7 @@ gst_matroska_mux_stop_streamheader (GstMatroskaMux * mux)
|
|||
gst_structure_set_value (s, "streamheader", &streamheader);
|
||||
g_value_unset (&streamheader);
|
||||
gst_caps_unref (ebml->caps);
|
||||
gst_buffer_unref (streamheader_buffer);
|
||||
ebml->caps = caps;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue