Commit c890dd0b authored by JP Dinger's avatar JP Dinger Committed by Rémi Denis-Courmont

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: 's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 194d99ab
......@@ -85,6 +85,10 @@ NPError VlcPlugin::init(int argc, char* const argn[], char* const argv[])
const char *ppsz_argv[32];
int ppsz_argc = 0;
#ifndef NDEBUG
ppsz_argv[ppsz_argc++] = "--no-plugins-cache";
#endif
/* locate VLC module path */
#ifdef XP_MACOSX
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[])
{
if( boolValue(argv[i]) )
{
ppsz_argv[ppsz_argc++] = "--volume";
ppsz_argv[ppsz_argc++] = "0";
ppsz_argv[ppsz_argc++] = "--volume=0";
}
}
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