diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2006-01-23 09:22:17 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2006-01-23 09:22:17 +0000 |
commit | 2ecee9a43d8e420eb21078711e766c5500bf8c04 (patch) | |
tree | 985bef3bae879dc4e8a7d614275d4a8919cd2fba /gst/id3demux/id3tags.h | |
parent | e3ba1c0fd5f99782b7481f79e410a7cbf56c167b (diff) |
gst/id3demux/: Rewrite parsing of text tags to handle multiple NULL terminated strings. Parse numeric genre strings a...
Original commit message from CVS:
* gst/id3demux/id3tags.c: (id3demux_read_id3v2_tag):
* gst/id3demux/id3tags.h:
* gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame),
(parse_comment_frame), (parse_text_identification_frame),
(id3v2_tag_to_taglist), (id3v2_are_digits),
(id3v2_genre_string_to_taglist), (id3v2_genre_fields_to_taglist),
(parse_split_strings), (free_tag_strings):
Rewrite parsing of text tags to handle multiple NULL terminated
strings. Parse numeric genre strings and ID3v2 type
"(3)(6)Alternative" style genre strings.
Parse dates that are only YYYY or YYYY-mm format.
Diffstat (limited to 'gst/id3demux/id3tags.h')
-rw-r--r-- | gst/id3demux/id3tags.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/id3demux/id3tags.h b/gst/id3demux/id3tags.h index c81cd550..cdf165d8 100644 --- a/gst/id3demux/id3tags.h +++ b/gst/id3demux/id3tags.h @@ -72,6 +72,9 @@ typedef struct { guint8 *parse_data; guint parse_size; + + /* Previous genre string, for simple duplicate removal */ + gchar *prev_genre; } ID3TagsWorking; enum { |