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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 15 15:24:44 PDT 2012


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

--- Comment #3 from Sebastian Rasmussen <sebras at hotmail.com> 2012-06-15 22:24:40 UTC ---
A run-time assert that catches _all_ cases (both out of range constants as in
snippet #1 and variable values as in snippet #2) is better than a compile time
error that catches most cases (out of range constants).

If I could come up with a way to catch out of range variable values at
compile-time I would certainly advocate that, but I can't.

I will need to get back next week (when I can study the code) and motivate why
GTimeVal is used at all.

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