From: Damien Fouilleul Date: Sun, 20 Nov 2005 22:56:57 +0000 (+0000) Subject: plugin.cpp: eclipse "one-instance" option in saved preferences, which prevents active... X-Git-Tag: 0.8.4~33 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=31498bce584514335996a79c6c49b034c9f22089;p=vlc plugin.cpp: eclipse "one-instance" option in saved preferences, which prevents activex plugin from working properly if a player or another activex plugin is already running. --- diff --git a/activex/plugin.cpp b/activex/plugin.cpp index 714c851bb8..8c9fe41d06 100644 --- a/activex/plugin.cpp +++ b/activex/plugin.cpp @@ -484,8 +484,8 @@ HRESULT VLCPlugin::onInit(void) /* ** default initialization options */ - char *ppsz_argv[10] = { "vlc", "-vv" }; - int ppsz_argc = 2; + char *ppsz_argv[10] = { "vlc", "-vv", "--no-one-instance" }; + int ppsz_argc = 3; HKEY h_key; DWORD i_type, i_data = MAX_PATH + 1;