[Bug 680237] QGst::ClockTime is inconvenient to use

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 19 03:30:50 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680237
  GStreamer | qt-gstreamer | git

--- Comment #2 from Mathias Hasselmann (IRC: tbf) <mathias.hasselmann at gmx.de> 2012-07-19 10:30:43 UTC ---
(In reply to comment #1)
> Just on a side note, GStreamer defines GST_SECOND, GST_MSECOND etc. so you can
> write 5 * GST_SECOND or 5 * GST_MSECOND to get the right amount of nanoseconds
> (but explicit constructors are nicer of course).

QtGStreamer explicitly doesn't include the GStreamer headers to avoid bad
interactions between Qt convenience macros (slots, signals, foreach, forever,
...) and GLib related headers.

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