From: RĂ©mi Denis-Courmont Date: Wed, 2 Jun 2010 18:36:53 +0000 (+0300) Subject: Mozilla: use --no-xlib X-Git-Tag: 1.2.0-pre1~6339 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=9886f288158ad2a56d8e2d66910ccde2c87e7206;p=vlc Mozilla: use --no-xlib It will be hard to convince all Mozilla plugins-capable browsers to call XInitThreads() early enough, if it ever happens. In the mean time, make sure we use only pure XCB and avoid Xlib in VLC plugins. Note: I did not check that the web plugins itself was not using Xlib outside the main Mozilla browser thread. This should fix #3662. We loose GLX and PulseAudio inside Mozilla. --- diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp index 2a15a2a127..93bd4309a5 100644 --- a/projects/mozilla/vlcplugin.cpp +++ b/projects/mozilla/vlcplugin.cpp @@ -361,6 +361,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[]) ppsz_argv[ppsz_argc++] = "--no-media-library"; ppsz_argv[ppsz_argc++] = "--intf=dummy"; ppsz_argv[ppsz_argc++] = "--no-video-title-show"; + ppsz_argv[ppsz_args++] = "--no-xlib"; const char *progid = NULL;