summaryrefslogtreecommitdiff
path: root/ext/shout2
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-07-27 18:37:25 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-07-27 18:37:25 +0000
commitc50893f784fc00db67b5374650d90f45ff222951 (patch)
tree30918daf1446e904f597d6d81ac66b19a6766c0c /ext/shout2
parent6a20c8af5ae5dcad24bff3544ad661b196fdadbf (diff)
Various event updates and cleanups.
Original commit message from CVS: * ext/amrnb/amrnbparse.c: (gst_amrnbparse_event), (gst_amrnbparse_loop): * ext/dv/gstdvdec.c: (gst_dvdec_handle_sink_event), (gst_dvdec_handle_src_event), (gst_dvdec_decode_frame): * ext/mad/gstid3tag.c: (gst_id3_tag_src_event), (gst_id3_tag_sink_event), (gst_id3_tag_chain): * ext/mad/gstmad.c: (gst_mad_src_query), (index_seek), (normal_seek), (gst_mad_sink_event), (gst_mad_chain): * ext/mpeg2dec/gstmpeg2dec.c: * ext/shout2/gstshout2.c: (gst_shout2send_event): * ext/sidplay/gstsiddec.cc: * gst/avi/gstavidemux.c: (gst_avi_demux_handle_src_event), (gst_avi_demux_send_event), (gst_avi_demux_stream_header), (gst_avi_demux_handle_seek), (gst_avi_demux_process_next_entry): * gst/goom/gstgoom.c: (gst_goom_event): * gst/realmedia/rmdemux.c: (gst_rmdemux_sink_event), (gst_rmdemux_chain), (gst_rmdemux_send_event), (gst_rmdemux_add_stream): * gst/wavparse/gstwavparse.c: (gst_wavparse_handle_seek), (gst_wavparse_stream_headers), (gst_wavparse_stream_data), (gst_wavparse_loop), (gst_wavparse_srcpad_event): Various event updates and cleanups.
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 fb6f9c113..b7c8c2b79 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,