mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
mssdemux: fix protection data double free
For not being duplicated here it was being freed when the manifest was being destroyed and a second time when the buffer was being destroyed.
This commit is contained in:
parent
2e3022c553
commit
7c136bbb5e
1 changed files with 1 additions and 1 deletions
|
@ -489,7 +489,7 @@ gst_mss_demux_setup_streams (GstAdaptiveDemux * demux)
|
|||
|
||||
if (protected) {
|
||||
GstBuffer *protection_buffer =
|
||||
gst_buffer_new_wrapped ((gpointer) protection_data,
|
||||
gst_buffer_new_wrapped (g_strdup (protection_data),
|
||||
strlen (protection_data));
|
||||
GstEvent *event =
|
||||
gst_event_new_protection (protection_system_id, protection_buffer,
|
||||
|
|
Loading…
Reference in a new issue