]> git.sesse.net Git - vlc/commitdiff
Get proper verbosity setting ASAP
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 28 Dec 2008 20:06:14 +0000 (22:06 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 28 Dec 2008 20:09:47 +0000 (22:09 +0200)
src/libvlc.c

index 45fa3a0e5e1a0d08030bce4439d4e5af6793f1d8..421bca86c569f4ea3bef6cbe2aa871c808a1b864 100644 (file)
@@ -346,6 +346,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         return VLC_EGENERIC;
     }
 
+    priv->i_verbose = config_GetInt( p_libvlc, "verbose" );
+
     /* Check for short help option */
     if( config_GetInt( p_libvlc, "help" ) > 0 )
     {
@@ -367,9 +369,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
     /* Check for plugins cache options */
     bool b_cache_delete = config_GetInt( p_libvlc, "reset-plugins-cache" ) > 0;
 
-    /* Will be re-done properly later on */
-    priv->i_verbose = config_GetInt( p_libvlc, "verbose" );
-
     /* Check for daemon mode */
 #ifndef WIN32
     if( config_GetInt( p_libvlc, "daemon" ) > 0 )