mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
adaptivedemux2: Don't leak tags
If we got them from GstStream, we should unref them when done Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3443>
This commit is contained in:
parent
e36b1ae6ed
commit
a742c3bf27
1 changed files with 2 additions and 0 deletions
|
@ -2427,6 +2427,8 @@ can_handle_collection (GstAdaptiveDemux2Stream * stream,
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if (tags)
|
||||
gst_tag_list_unref (tags);
|
||||
}
|
||||
|
||||
/* Check that we either have at most 1 of each track type, or that
|
||||
|
|
Loading…
Reference in a new issue