[Bug 776126] bus: Add function to get the file descriptor of the bus

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Dec 16 12:34:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=776126

--- Comment #6 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Sebastian Dröge (slomo) from comment #5)
> (In reply to Tim-Philipp Müller from comment #4)
> > Ok.
> > 
> > Does it work with bindings?
> 
> Asking

No. The alternative would be

a) gst_bus_get_fd() on non-Windows, gst_bus_get_handle() on Windows. And have
the symbols either platform specific, or let them be there always and return
something invalid on the wrong platform

b) platform specific return value (gint vs HANDLE)

c) return a gint64 always and require people to cast

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