[vlc-commits] plugin base: temporary fix to find plugins on OS X
Felix Paul Kühne
git at videolan.org
Mon Jan 27 15:36:37 CET 2014
npapi-vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Mon Jan 27 15:36:33 2014 +0100| [0b6eb15321dc510489fc858ab88a54ebe585c378] | committer: Felix Paul Kühne
plugin base: temporary fix to find plugins on OS X
> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=0b6eb15321dc510489fc858ab88a54ebe585c378
---
npapi/vlcplugin_base.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/npapi/vlcplugin_base.cpp b/npapi/vlcplugin_base.cpp
index c02bd36..7a0fa64 100644
--- a/npapi/vlcplugin_base.cpp
+++ b/npapi/vlcplugin_base.cpp
@@ -124,6 +124,7 @@ NPError VlcPluginBase::init(int argc, char* const argn[], char* const argv[])
#endif
#ifdef XP_MACOSX
+ setenv("VLC_PLUGIN_PATH", "/Library/Internet Plug-Ins/VLC Plugin.plugin/Contents/MacOS/plugins", 1);
ppsz_argv[ppsz_argc++] = "--vout=vout_coregraphicslayer";
#endif
More information about the vlc-commits
mailing list