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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 12 16:33:30 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|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.11.x

--- Comment #10 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-06-12 23:33:25 UTC ---
> I hope i didn't forgot any thing. There was lots of writing, so it can
> easily be.

There was a step-by-step checklist in my previous comment...

Anyway:



commit 02a99c6ae8a77da7c02652e8cd0f69bc2bb38060
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Jun 13 00:30:48 2012 +0100

    docs: update for new datetime api

commit 659a41b8961689b286024366f83f8ca172493307
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Jun 13 00:28:00 2012 +0100

    win32: update .def file for latest API

commit a13ed36c6a0c5c420378218d3421263d98c49efe
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Jun 13 00:25:24 2012 +0100

    docs: add new datetime API

commit b45a44ef27ec8f9bb77a8f495c67ba1a371d05a8
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Jun 13 00:21:32 2012 +0100

    tests: add some basic unit tests for partial date time fields

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

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