summaryrefslogtreecommitdiff
path: root/ext/wavpack
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-28 00:19:51 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-07-28 00:19:51 +0200
commit0827f54b931919a67bb4d36a6ba42d50a3efe8a7 (patch)
tree49f0e7b02b78b38eab624bff23f65407dcadc205 /ext/wavpack
parentdd25411161209cad99e53f271a15ca38ce604027 (diff)
downloadgstreamer-plugins-good-0827f54b931919a67bb4d36a6ba42d50a3efe8a7.tar.gz
tag: Update for taglist/tag event API changes
Diffstat (limited to 'ext/wavpack')
-rw-r--r--ext/wavpack/gstwavpackdec.c5
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);
}
}