mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +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)) {
|
} else if (!g_ascii_strncasecmp (strings[i], "StreamUrl=", 10)) {
|
||||||
char *url = gst_icydemux_unicodify (strings[i] + 11);
|
char *url = gst_icydemux_unicodify (strings[i] + 11);
|
||||||
|
|
||||||
if (url) {
|
if (url && *url) {
|
||||||
/*
|
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_HOMEPAGE,
|
||||||
gst_tag_list_add (tags, GST_TAG_MERGE_REPLACE, GST_TAG_URL,
|
|
||||||
url, NULL);
|
url, NULL);
|
||||||
found_tag = TRUE;
|
|
||||||
*/
|
|
||||||
g_free (url);
|
g_free (url);
|
||||||
|
found_tag = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue