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:
Vineeth TM 2015-07-31 10:47:27 +09:00 committed by Tim-Philipp Müller
parent 0cc6d16c94
commit 9115a750f7

View file

@ -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);
}
}