From d4b43861a2288fbebf30d425d53f0844c1bf1344 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 14 Dec 2007 10:17:10 +0000 Subject: [PATCH] tag: id3v2: Parse WOAF frames and put the result into GST_TAG_CONTACT, which is where it would end up... Original commit message from CVS: * tag: id3v2: (parse_url_link_frame): Parse WOAF frames and put the result into GST_TAG_CONTACT, which is where it would end up if the same information was put in a vorbis comment (don't think it's worth adding a new URI tag for this). Fixes #488112. --- gst-libs/gst/tag/id3v2frames.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst-libs/gst/tag/id3v2frames.c b/gst-libs/gst/tag/id3v2frames.c index c8acb88..b67f356 100644 --- a/gst-libs/gst/tag/id3v2frames.c +++ b/gst-libs/gst/tag/id3v2frames.c @@ -348,6 +348,11 @@ parse_url_link_frame (ID3TagsWorking * work, const gchar ** tag_name) *tag_name = GST_TAG_LICENSE_URI; else *tag_name = GST_TAG_COPYRIGHT_URI; + } else if (strcmp (work->frame_id, "WOAF") == 0) { + /* can't be bothered to create a CONTACT_URI tag for this, so let's just + * put into into GST_TAG_CONTACT, which is where it ends up when reading + * the info from vorbis comments as well */ + *tag_name = GST_TAG_CONTACT; } return link; -- 2.7.4