]> git.sesse.net Git - vlc/commitdiff
plugin.cpp: eclipse "one-instance" option in saved preferences, which prevents active...
authorDamien Fouilleul <damienf@videolan.org>
Sun, 20 Nov 2005 22:56:57 +0000 (22:56 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Sun, 20 Nov 2005 22:56:57 +0000 (22:56 +0000)
activex/plugin.cpp

index 714c851bb81901865aca14c7026f99397616c790..8c9fe41d067776b7374ccfba1c1d09a450695557 100644 (file)
@@ -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;