From 23e3fc90b9aff806f7a509f03f406040d4ec6f6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 28 Dec 2008 22:06:14 +0200 Subject: [PATCH 1/1] Get proper verbosity setting ASAP --- src/libvlc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/libvlc.c b/src/libvlc.c index 45fa3a0e5e..421bca86c5 100644 --- a/src/libvlc.c +++ b/src/libvlc.c @@ -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 ) -- 2.39.2