projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39aa4dc
)
tag: fix month/day extraction in ID3v2 tags
author
Tim-Philipp Müller
<tim@centricular.net>
Wed, 1 Aug 2012 16:46:46 +0000
(17:46 +0100)
committer
Tim-Philipp Müller
<tim@centricular.net>
Wed, 1 Aug 2012 23:23:28 +0000
(
00:23
+0100)
We were passing month/day in the wrong order to
gst_date_time_new_ymd().
gst-libs/gst/tag/id3v2.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/tag/id3v2.c
b/gst-libs/gst/tag/id3v2.c
index
eb27ec9
..
b353646
100644
(file)
--- a/
gst-libs/gst/tag/id3v2.c
+++ b/
gst-libs/gst/tag/id3v2.c
@@
-607,7
+607,7
@@
id3v2_frames_to_tag_list (ID3TagsWorking * work, guint size)
/* GstDateTime is immutable, so create new one and replace old one */
dt2 = gst_date_time_new_ymd (gst_date_time_get_year (dt),
- work->pending_
day, work->pending_month
);
+ work->pending_
month, work->pending_day
);
gst_tag_list_add (work->tags, GST_TAG_MERGE_REPLACE, GST_TAG_DATE_TIME,
dt2, NULL);
gst_date_time_unref (dt2);