diff options
author | wm4 <wm4@nowhere> | 2014-02-06 13:40:09 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-06 13:40:09 +0100 |
commit | 5693b5ae16217eb62f4fad43ab90a310dfca4f41 (patch) | |
tree | 6421e0dc5555e7b0054901c5c78e72bc98050b83 /stream | |
parent | ef68cfcc8a1f0179bbdade48225907a881ba0abd (diff) | |
download | mpv-5693b5ae16217eb62f4fad43ab90a310dfca4f41.tar.bz2 mpv-5693b5ae16217eb62f4fad43ab90a310dfca4f41.tar.xz |
stream_lavf: prefix icy metadata with "icy-"
ICY metadata is not always of good quality, and especially if there are
proper tags. We don't want the ICY metadata override the tags.
Diffstat (limited to 'stream')
-rw-r--r-- | stream/stream_lavf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_lavf.c b/stream/stream_lavf.c index da57b10e82..3c7bf93493 100644 --- a/stream/stream_lavf.c +++ b/stream/stream_lavf.c @@ -259,7 +259,7 @@ out: static void append_meta(char ***info, int *num_info, bstr name, bstr val) { if (name.len && val.len) { - char *cname = talloc_asprintf(*info, "%.*s", BSTR_P(name)); + char *cname = talloc_asprintf(*info, "icy-%.*s", BSTR_P(name)); char *cval = talloc_asprintf(*info, "%.*s", BSTR_P(val)); MP_TARRAY_APPEND(NULL, *info, *num_info, cname); MP_TARRAY_APPEND(NULL, *info, *num_info, cval); |