diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-07-28 00:19:51 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-07-28 00:19:51 +0200 |
commit | 0827f54b931919a67bb4d36a6ba42d50a3efe8a7 (patch) | |
tree | 49f0e7b02b78b38eab624bff23f65407dcadc205 /ext/wavpack | |
parent | dd25411161209cad99e53f271a15ca38ce604027 (diff) | |
download | gstreamer-plugins-good-0827f54b931919a67bb4d36a6ba42d50a3efe8a7.tar.gz |
tag: Update for taglist/tag event API changes
Diffstat (limited to 'ext/wavpack')
-rw-r--r-- | ext/wavpack/gstwavpackdec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/wavpack/gstwavpackdec.c b/ext/wavpack/gstwavpackdec.c index 9351af90f..99b626301 100644 --- a/ext/wavpack/gstwavpackdec.c +++ b/ext/wavpack/gstwavpackdec.c @@ -258,9 +258,8 @@ gst_wavpack_dec_post_tags (GstWavpackDec * dec) bitrate = gst_util_uint64_scale (size, 8 * GST_SECOND, duration); gst_tag_list_add (list, GST_TAG_MERGE_REPLACE, GST_TAG_BITRATE, (guint) bitrate, NULL); - - gst_element_post_message (GST_ELEMENT (dec), - gst_message_new_tag (GST_OBJECT (dec), list)); + gst_audio_decoder_merge_tags (GST_AUDIO_DECODER (dec), list, + GST_TAG_MERGE_REPLACE); } } |