#if defined (CLUTTER_WINDOWING_X11)
/* Required by some GStreamer element like VA */
XInitThreads ();
#endif
But that doesn't seem to be the problem, even if looks really shady (AFAICT basically means that if clutter was built with x11 support, it will call XInitThreads(), even if you're not actually running under X11).
There are suspect code blocks like the following:
#if defined (CLUTTER_ WINDOWING_ X11)
/* Required by some GStreamer element like VA */
XInitThreads ();
#endif
But that doesn't seem to be the problem, even if looks really shady (AFAICT basically means that if clutter was built with x11 support, it will call XInitThreads(), even if you're not actually running under X11).