diff options
author | Edward Hervey <edward.hervey@collabora.co.uk> | 2011-01-05 11:26:13 +0100 |
---|---|---|
committer | Edward Hervey <edward.hervey@collabora.co.uk> | 2011-01-05 11:26:13 +0100 |
commit | f53948b332e73a319c627885170e736f49c4d75d (patch) | |
tree | 7d1928da514322c4f562ba7f1b49d2bee3ce293e | |
parent | 4b51c5239552f6521bf3cf8886f6dbdb7d8d80ab (diff) |
gstdatetime: Disable usage of GDateTime on MacOSX
GLib's GDateTime doesn't handle properly the gmt offset. Therefore
use our own internal version instead on MacOSX.
See bug #638666
-rw-r--r-- | gst/gstdatetime.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/gstdatetime.c b/gst/gstdatetime.c index 255ee36d7..60f709fc1 100644 --- a/gst/gstdatetime.c +++ b/gst/gstdatetime.c @@ -257,6 +257,14 @@ #define GST_DATE_TIME_USEC_PER_SECOND (G_GINT64_CONSTANT (1000000)) #define GST_DATE_TIME_USEC_PER_MILLISECOND (G_GINT64_CONSTANT (1000)) +/* Jan 5th 2011 (Edward) : GLib's GDateTime is broken in regards to gmt offset + * on macosx. Re-enable it once the following bug is fixed: + * https://bugzilla.gnome.org/show_bug.cgi?id=638666 */ +#ifdef HAVE_OSX +#undef GLIB_HAS_GDATETIME +#endif + + #ifndef GLIB_HAS_GDATETIME #define MAX_SUPPORTED_YEAR 9999 |