From 9886f288158ad2a56d8e2d66910ccde2c87e7206 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Wed, 2 Jun 2010 21:36:53 +0300 Subject: [PATCH] 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. --- projects/mozilla/vlcplugin.cpp | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.2