gl: XInitThreads when env variable is set
authorMatthew Waters <ystreet00@gmail.com>
Tue, 24 Jun 2014 13:51:24 +0000 (23:51 +1000)
committerMatthew Waters <ystreet00@gmail.com>
Tue, 24 Jun 2014 13:51:24 +0000 (23:51 +1000)
commit5409a3ea2f5bb76e11b922834c6877bffc463924
tree0b3638fd3b70416a750e30ba8ef5bd07a26e3130
parent1d16cd50a3f07198e2519adec8e52b2b5b21ea14
gl: XInitThreads when env variable is set

This is too allow gst-launch debugging with multiple GL contexts as
well as avoiding segfaulting innocent gtk+ apps that have not called
XInitThreads.

https://bugzilla.gnome.org/show_bug.cgi?id=731525
ext/gl/gstopengl.c