From afe6ee7f3c18e1c230af7cfe1e13e7ee13b9831d Mon Sep 17 00:00:00 2001 From: Erich Schubert Date: Sun, 2 Jan 2011 19:23:51 +0000 Subject: [PATCH] tag: id3v2: fix parsing of ID3v2.4 genre frames with multiple genres We'd only extract the first genre (multiple times) instead of all genres. https://bugzilla.gnome.org/show_bug.cgi?id=638535 --- gst-libs/gst/tag/id3v2frames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/tag/id3v2frames.c b/gst-libs/gst/tag/id3v2frames.c index 021a3d1..e51bbb7 100644 --- a/gst-libs/gst/tag/id3v2frames.c +++ b/gst-libs/gst/tag/id3v2frames.c @@ -875,7 +875,7 @@ id3v2_genre_fields_to_taglist (ID3TagsWorking * work, const gchar * tag_name, for (i = 0; i < tag_fields->len; i++) { gint len; - tag_str = g_array_index (tag_fields, gchar *, 0); + tag_str = g_array_index (tag_fields, gchar *, i); if (tag_str == NULL) continue; -- 2.7.4