mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 22:16:22 +00:00
dtsdec: fix taglist leak
taglist merge doesnt take ownership. So should free the tags after use https://bugzilla.gnome.org/show_bug.cgi?id=753086
This commit is contained in:
parent
0cc6d16c94
commit
9115a750f7
1 changed files with 2 additions and 0 deletions
|
@ -442,6 +442,8 @@ gst_dtsdec_update_streaminfo (GstDtsDec * dts)
|
|||
(guint) dts->bit_rate, NULL);
|
||||
gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dts), taglist,
|
||||
GST_TAG_MERGE_REPLACE);
|
||||
if (taglist)
|
||||
gst_tag_list_unref (taglist);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue