[Bug 678181] Compilation error when using GST_TIME_TO_TIMEVAL()...

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 18 07:33:10 PDT 2012


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

--- Comment #6 from Wim Taymans <wim.taymans at gmail.com> 2012-06-18 14:32:00 UTC ---
(In reply to comment #5)
> -> Wim: No, I believe that G_MAXUINT32 is the correct value. The reason being
> that if the assert would fail on a 32-bit machine you want it to fail on a
> 64-bit machine too so that bugs on 32-bit machines will not go unnoticed for
> people only compiling for 64-bit machines. G_MAXLONG would have different
> values depending on if it is compiled for 32- or 64-bit machines in case I'm
> haven't misunderstood things.

Except that things work correctly on 64 bits when using G_MAXLONG. Artificially
restricting a feature on 64bits would be like saying that you can't allocate
more than 4GB of memory on 64bits because it would fail on 32 bits...

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