icydemux: Add 'StreamUrl' metadata as GST_TAG_HOMEPAGE tag

This commit is contained in:
Andoni Morales Alastruey 2010-10-27 19:15:20 +02:00 committed by Sebastian Dröge
parent 05cc505289
commit be2d04e040

View file

@ -352,13 +352,11 @@ gst_icydemux_parse_and_send_tags (GstICYDemux * icydemux)
} else if (!g_ascii_strncasecmp (strings[i], "StreamUrl=", 10)) {
char *url = gst_icydemux_unicodify (strings[i] + 11);
if (url) {
/*
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_URL,
url, NULL);
found_tag = TRUE;
*/
if (url && *url) {
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_HOMEPAGE,
url, NULL);
g_free (url);
found_tag = TRUE;
}
}
}