summaryrefslogtreecommitdiffstats
path: root/ext/shout2
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shout2')
-rw-r--r--ext/shout2/gstshout2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c
index fb6f9c11..b7c8c2b7 100644
--- a/ext/shout2/gstshout2.c
+++ b/ext/shout2/gstshout2.c
@@ -328,9 +328,12 @@ gst_shout2send_event (GstBaseSink * sink, GstEvent * event)
GST_DEBUG ("tag event received");
/* vorbis audio doesnt need metadata setting on the icecast level, only mp3 */
if (shout2send->tags && shout2send->audio_format == SHOUT_FORMAT_MP3) {
+ GstTagList *list;
+
+ gst_event_parse_tag (event, &list);
+
gst_tag_list_insert (shout2send->tags,
- gst_event_tag_get_list (event),
- gst_tag_setter_get_merge_mode (GST_TAG_SETTER (shout2send)));
+ list, gst_tag_setter_get_merge_mode (GST_TAG_SETTER (shout2send)));
/* lets get the artist and song tags */
tempmetadata = NULL;
gst_tag_list_foreach ((GstTagList *) shout2send->tags,