]> git.sesse.net Git - vlc/commitdiff
* mozilla/vlcshell.cpp: added a mute start option.
authorGildas Bazin <gbazin@videolan.org>
Thu, 2 Dec 2004 16:54:47 +0000 (16:54 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 2 Dec 2004 16:54:47 +0000 (16:54 +0000)
mozilla/vlcshell.cpp

index 03760362d7e83c754239df8c6129c6aceb491d2e..d2e9632c1cc8dcf984ed8679303d352046e07fcc 100644 (file)
@@ -403,6 +403,13 @@ NPError NPP_New( NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
                 VLC_VariableSet( p_plugin->i_vlc, "conf::fullscreen", value );
             }
         }
+        else if( !strcmp( argn[i], "mute" ) )
+        {
+            if( !strcmp( argv[i], "yes" ) )
+            {
+                VLC_VolumeMute( p_plugin->i_vlc );
+            }
+        }
 #endif
     }