]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
* finished the German translation for 0.8.4 (refs #407)
[vlc] / src / libvlc.c
index d6c646fba6aab26038a9d5c2694dd0f5c4116cc7..69fecc75b6cc157148799a8be0a195b4e2617c35 100644 (file)
@@ -451,8 +451,6 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
 #if defined( ENABLE_NLS ) \
      && ( defined( HAVE_GETTEXT ) || defined( HAVE_INCLUDED_GETTEXT ) )
 
-    setlocale( LC_NUMERIC, "" );
-
     /* This ain't really nice to have to reload the config here but it seems
      * the only way to do it. */
     config_LoadConfigFile( p_vlc, "main" );
@@ -781,6 +779,9 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
     var_Create( p_vlc, "drawableportx", VLC_VAR_INTEGER );
     var_Create( p_vlc, "drawableporty", VLC_VAR_INTEGER );
 
+    /* Create volume callback system. */
+    var_Create( p_vlc, "volume-change", VLC_VAR_BOOL );
+
     /*
      * Get input filenames given as commandline arguments
      */