Commit ef269525 authored by JP Dinger's avatar JP Dinger Committed by Jean-Paul Saman

Add --no-plugins-cache when compiling the mozilla plugin with debugging...

Add --no-plugins-cache when compiling the mozilla plugin with debugging enabled, and simplify --volume=0 when starting muted.
Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 09546e4b
...@@ -85,6 +85,10 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[]) ...@@ -85,6 +85,10 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
const char *ppsz_argv[32]; const char *ppsz_argv[32];
int ppsz_argc = 0; int ppsz_argc = 0;
#ifndef NDEBUG
ppsz_argv[ppsz_argc++] = "--no-plugins-cache";
#endif
/* locate VLC module path */ /* locate VLC module path */
#ifdef XP_MACOSX #ifdef XP_MACOSX
ppsz_argv[ppsz_argc++] = "--plugin-path=/Library/Internet\\ Plug-Ins/VLC\\ Plugin.plugin/Contents/MacOS/modules"; ppsz_argv[ppsz_argc++] = "--plugin-path=/Library/Internet\\ Plug-Ins/VLC\\ Plugin.plugin/Contents/MacOS/modules";
...@@ -152,8 +156,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[]) ...@@ -152,8 +156,7 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
{ {
if( boolValue(argv[i]) ) if( boolValue(argv[i]) )
{ {
ppsz_argv[ppsz_argc++] = "--volume"; ppsz_argv[ppsz_argc++] = "--volume=0";
ppsz_argv[ppsz_argc++] = "0";
} }
} }
else if( !strcmp( argn[i], "loop") else if( !strcmp( argn[i], "loop")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment