summaryrefslogtreecommitdiffstats
path: root/gst/id3demux/id3v2frames.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-12-14 10:17:10 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-12-14 10:17:10 +0000
commit7951e1cceb92e5b9176fb896ca33d5b191baa516 (patch)
tree0a2c1b78deab8696c98079dfd0ad0d8011ef567f /gst/id3demux/id3v2frames.c
parent12fde4cf38525e78362ef66e305ad6395e5d8168 (diff)
gst/id3demux/id3v2frames.c: Parse WOAF frames and put the result into GST_TAG_CONTACT, which is where it would end up...
Original commit message from CVS: * gst/id3demux/id3v2frames.c: (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.
Diffstat (limited to 'gst/id3demux/id3v2frames.c')
-rw-r--r--gst/id3demux/id3v2frames.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gst/id3demux/id3v2frames.c b/gst/id3demux/id3v2frames.c
index c8acb886..b67f356d 100644
--- a/gst/id3demux/id3v2frames.c
+++ b/gst/id3demux/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;