mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-06 02:32:23 +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);
|
(guint) dts->bit_rate, NULL);
|
||||||
gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dts), taglist,
|
gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dts), taglist,
|
||||||
GST_TAG_MERGE_REPLACE);
|
GST_TAG_MERGE_REPLACE);
|
||||||
|
if (taglist)
|
||||||
|
gst_tag_list_unref (taglist);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue