[vlc-commits] commit: Mozilla: use --no-xlib ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Wed Jun 2 20:39:28 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun  2 21:36:53 2010 +0300| [9886f288158ad2a56d8e2d66910ccde2c87e7206] | committer: Rémi Denis-Courmont 

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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9886f288158ad2a56d8e2d66910ccde2c87e7206
---

 projects/mozilla/vlcplugin.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/projects/mozilla/vlcplugin.cpp b/projects/mozilla/vlcplugin.cpp
index 2a15a2a..93bd430 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;
 



More information about the vlc-commits mailing list