[Bug 745516] xvimagesink: race condition causes crash in XCB

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Mar 4 02:21:53 PST 2015


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

--- Comment #4 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Why do we need XInitThreads() for xvimagesink? Where are we using the same
display connection from multiple threads?


The GL code does that, yes. But an application has to call XInitThreads()
*before* using any X11 API. So also before e.g. gtk_init(). Otherwise things
break in horrible ways. That's why we do it there conditional on an environment
variable to opt-in.

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