+static gboolean
+gst_icydemux_tag_found (GstICYDemux * icydemux, GstTagList * tags)
+{
+ /* send the tag event if we have finished typefinding and have a src pad */
+ if (icydemux->srcpad)
+ return gst_icydemux_send_tag_event (icydemux, tags);
+
+ /* if we haven't a source pad yet, cache the tags */
+ if (!icydemux->cached_tags)
+ icydemux->cached_tags = gst_tag_list_new ();
+
+ gst_tag_list_insert (icydemux->cached_tags, tags, GST_TAG_MERGE_REPLACE_ALL);
+
+ return TRUE;
+}
+