mozilla: use minimal_macosx as vout in webplugin, it leaks way less then macosx vout.
authorJean-Paul Saman <jpsaman@videolan.org>
Sun, 21 Jun 2009 14:09:52 +0000 (16:09 +0200)
committerJean-Paul Saman <jpsaman@videolan.org>
Fri, 24 Jul 2009 12:26:28 +0000 (14:26 +0200)
projects/mozilla/vlcplugin.cpp

index f1003a2..5f4444b 100644 (file)
@@ -99,7 +99,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
     /* locate VLC module path */
 #ifdef XP_MACOSX
     ppsz_argv[ppsz_argc++] = "--plugin-path=/Library/Internet\\ Plug-Ins/VLC\\ Plugin.plugin/Contents/MacOS/modules";
-    ppsz_argv[ppsz_argc++] = "--vout=macosx";
+    ppsz_argv[ppsz_argc++] = "--vout=minimal_macosx";
 #elif defined(XP_WIN)
     HKEY h_key;
     DWORD i_type, i_data = MAX_PATH + 1;