mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
tag: fix month/day extraction in ID3v2 tags
We were passing month/day in the wrong order to gst_date_time_new_ymd().
This commit is contained in:
parent
39aa4dc674
commit
36f32d3f93
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue