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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jun 15 11:55:34 PDT 2012


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-06-15 18:55:28 UTC ---
I don't see how a run-time assert is better than a compiler error (you can do a
compile-time assert btw, there's a macro for that too).

Where is GTimeVal needed anyway? Perhaps we should just purge it from our API
entirely, including those macros?

I *think* it's only used in connection with g_cond_timed_wait in various
_TIMED_WAIT() macros? g_cond_timed_wait() is deprecated in GLib anyway now, so
we should probably not use it in our API.

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