mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 06:16:36 +00:00
icydemux: Add 'StreamUrl' metadata as GST_TAG_HOMEPAGE tag
This commit is contained in:
parent
05cc505289
commit
be2d04e040
1 changed files with 4 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue