mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
adaptivedemux2: Don't leak track tags
The tags are fully transfered to this function Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
6f6c0cbbaf
commit
123030feac
1 changed files with 1 additions and 1 deletions
|
@ -927,8 +927,8 @@ gst_adaptive_demux_track_new (GstAdaptiveDemux * demux,
|
|||
track->generic_caps = caps;
|
||||
track->stream_object = gst_stream_new (track->stream_id, caps, type, flags);
|
||||
if (tags) {
|
||||
track->tags = gst_tag_list_ref (tags);
|
||||
gst_stream_set_tags (track->stream_object, tags);
|
||||
track->tags = tags;
|
||||
}
|
||||
|
||||
track->selected = FALSE;
|
||||
|
|
Loading…
Reference in a new issue