summaryrefslogtreecommitdiffstats
path: root/gst/id3demux/id3tags.h
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2007-03-06 18:16:49 +0000
committerTim-Philipp Müller <tim@centricular.net>2007-03-06 18:16:49 +0000
commit8ffc1761b31c7a6c425853e16d87a907d9a4e6c7 (patch)
tree6fcc7a8796cee75da24a4ba9786f28c45329db50 /gst/id3demux/id3tags.h
parentc71db98b91702454dc530811d0aefc21de873820 (diff)
gst/id3demux/: Do not convert obsolete TDA/TDAT frames to TDRC frames, otherwise the four-digit number will be interp...
Original commit message from CVS: * gst/id3demux/id3tags.c: (id3demux_id3v2_frames_to_tag_list): * gst/id3demux/id3tags.h: * gst/id3demux/id3v2frames.c: (id3demux_id3v2_parse_frame), (parse_obsolete_tdat_frame): Do not convert obsolete TDA/TDAT frames to TDRC frames, otherwise the four-digit number will be interpreted as a year, whereas it is month and day in DDMM format. Instead, parse TDAT frames and fix up the date in the GST_TAG_DATE tag later if we also extracted a year. Fixes #407349.
Diffstat (limited to 'gst/id3demux/id3tags.h')
-rw-r--r--gst/id3demux/id3tags.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/id3demux/id3tags.h b/gst/id3demux/id3tags.h
index c87c8710..85a17cd4 100644
--- a/gst/id3demux/id3tags.h
+++ b/gst/id3demux/id3tags.h
@@ -78,6 +78,10 @@ typedef struct {
/* Previous genre string, for simple duplicate removal */
gchar *prev_genre;
+
+ /* To collect day/month from obsolete TDAT frame if it exists */
+ guint pending_month;
+ guint pending_day;
} ID3TagsWorking;
enum {