Commit 23e3fc90 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Get proper verbosity setting ASAP

parent c93c7588
...@@ -346,6 +346,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -346,6 +346,8 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
return VLC_EGENERIC; return VLC_EGENERIC;
} }
priv->i_verbose = config_GetInt( p_libvlc, "verbose" );
/* Check for short help option */ /* Check for short help option */
if( config_GetInt( p_libvlc, "help" ) > 0 ) if( config_GetInt( p_libvlc, "help" ) > 0 )
{ {
...@@ -367,9 +369,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc, ...@@ -367,9 +369,6 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Check for plugins cache options */ /* Check for plugins cache options */
bool b_cache_delete = config_GetInt( p_libvlc, "reset-plugins-cache" ) > 0; 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 */ /* Check for daemon mode */
#ifndef WIN32 #ifndef WIN32
if( config_GetInt( p_libvlc, "daemon" ) > 0 ) if( config_GetInt( p_libvlc, "daemon" ) > 0 )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment