diff options
author | Andoni Morales Alastruey <amorales@flumotion.com> | 2010-10-27 19:15:20 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2010-12-02 19:18:03 +0100 |
commit | be2d04e040aa3a6fb556f660fbfa624d32a3f017 (patch) | |
tree | bfb489d8c5baa127e66e593216d75e333f40b355 /gst/icydemux | |
parent | 05cc50528989426f9fae43f206bfc4d2e1f3725d (diff) |
icydemux: Add 'StreamUrl' metadata as GST_TAG_HOMEPAGE tag
Diffstat (limited to 'gst/icydemux')
-rw-r--r-- | gst/icydemux/gsticydemux.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gst/icydemux/gsticydemux.c b/gst/icydemux/gsticydemux.c index e3883a9f1..596550056 100644 --- a/gst/icydemux/gsticydemux.c +++ b/gst/icydemux/gsticydemux.c @@ -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; } } } |