[Bug 677757] datetime: allow GstDateTime where not all fields are set

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jun 9 08:33:06 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=677757
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |t.i.m at zen.co.uk
            Summary|gstdatetime: allow to       |datetime: allow GstDateTime
                   |allocate GstDateTime with   |where not all fields are
                   |only year.                  |set
     Ever Confirmed|0                           |1
           Severity|normal                      |enhancement

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-06-09 15:33:02 UTC ---
Just for clarity, let me re-state the goal here:

Tags often contain partial dates or date times, e.g. just a year, or year and
month, or year month and day but no time. We want to be able to (a) signal this
correctly to applications, and (b) deserialise and re-serialise tags properly,
without loss of date/time information, but also without making up information
that's not there. "2012" is not the same as "2012-01-01" and when we read
DATE=2012 we want to later be able to write DATE=2012 again.

-- 
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