[gstreamer-bugs] [Bug 594504] New: Need a GType of "Date AND Time AND Timezone"
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Sep 8 07:32:48 PDT 2009
http://bugzilla.gnome.org/show_bug.cgi?id=594504
Summary: Need a GType of "Date AND Time AND Timezone"
Classification: Desktop
Product: GStreamer
Version: git
OS/Version: Linux
Status: UNCONFIRMED
Severity: enhancement
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: bilboed at gmail.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME target: ---
GNOME version: ---
--- Comment #0 from Edward Hervey <bilboed at gmail.com> 2009-09-08 14:32:42 UTC ---
We don't have a unified type for Date/Time/Timezone information.
Several elements can parse that information from various streams (demuxers,
exif tag parsers, etc...) , but since we don't have such a type, we can't use
that information in a uniform way.
What we should have is a new GType which stores all the following in a GValue:
* Date (YYYY/MM/DD)
* Time (HH:MM:SS.XXX) (It would be nice to have millisecond precision at least)
* Timezone (+/- HH:MM)
* Dailyght Saving Time (applied or not)
SMPTE specifications S12M and S309M have explanations on how to pack this
information using BCD coding.
This should come with methods or macros to easily read/write all the various
information from the new type.
--
Configure bugmail: http://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