celtdec: use base class tag handling helper

... so as to ensure these to be handled and sent at proper time.
This commit is contained in:
Mark Nauwelaerts 2012-03-06 16:11:52 +01:00
parent 8aa50a29de
commit bc7442faa3

View file

@ -298,8 +298,8 @@ gst_celt_dec_parse_comments (GstCeltDec * dec, GstBuffer * buf)
GST_INFO_OBJECT (dec, "tags: %" GST_PTR_FORMAT, list);
gst_element_found_tags_for_pad (GST_ELEMENT (dec),
GST_AUDIO_DECODER_SRC_PAD (dec), list);
gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dec), list,
GST_TAG_MERGE_REPLACE);
g_free (encoder);
g_free (ver);