[gstreamer-bugs] [Bug 170306] strange year in nautilus properties for ogg files

bugzilla-daemon at bugzilla.gnome.org bugzilla-daemon at bugzilla.gnome.org
Mon Mar 14 05:51:54 PST 2005


Please DO NOT reply to this by email. All additional comments should be made in
the comments box of this bug report.

 http://bugzilla.gnome.org/show_bug.cgi?id=170306
 GStreamer | gst-plugins | Ver: 0.8.9





------- Additional Comments From Tim-Philipp Müller  2005-03-14 08:51 -------
I don't think it's GStreamer's fault. 

Whichever module interprets the taglist seems to interpret the GST_TAG_DATE tag
to be the number of a year and not as a date in julian calendar days.

Try this:

#include <glib.h>
int main (int argc, char **argv)
{
        GDate *date;
        gchar  buf[64];
        date = g_date_new_julian (718798);
        g_date_strftime (buf, sizeof(buf), "%Y-%m-%d", date);
        g_print ("%s\n", buf);
        return 0;
}

Result: 1969-01-01

Cheers
 -Tim



------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list