[Bug 635595] GstDateTime needs granularity API so date tags can be transcoded correctly
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Sat Jun 16 09:48:44 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=635595
GStreamer | gstreamer (core) | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|HEAD |0.11.x
--- Comment #6 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-06-16 16:48:38 UTC ---
This has been implemented in 0.11/1.0 (git master):
commit 5b37641cbcdec1ad744404800fca87fa8a7d60e9
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Tue Jun 12 23:52:02 2012 +0100
datetime: clean-ups and new API adjustments
Remove constructors we don't want:
gst_date_time_new_ymd_h() because we don't want to
support hour-only for now;
gst_date_time_new_ymd_hm() because we don't want to
add constructors with time info where the caller doesn't
have to think about what timezone the time is in.
Lots of compulsive clean-up. Docs fixes. Replace
has_minute() and has_hour() with has_time().
commit 000ebef2f4d649015f6689a13e32d016d126e78f
Author: Oleksij Rempel <bug-track at fisher-privat.net>
Date: Tue Jun 12 22:35:42 2012 +0200
datetime: allow GstDateTime where not all fields are set
In order to deserialise and re-serialise dates and date times
from tags properly, we need to be able to express partial
dates (e.g. YYYY or YYYY-MM) and date times.
We only support partial date times where all the more
significant fields above the first unset field are set
(e.g. YYYY-00-DD is not supported).
Calling _get_foo() when foo is not set is not allowed
any more, callers need to check which fields are set
first.
https://bugzilla.gnome.org/show_bug.cgi?id=677757
Still needs some work in the various tag readers/writers though.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list