[vlc-devel] commit: Get proper verbosity setting ASAP ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Dec 28 21:18:16 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Dec 28 22:06:14 2008 +0200| [23e3fc90b9aff806f7a509f03f406040d4ec6f6c] | committer: Rémi Denis-Courmont 

Get proper verbosity setting ASAP

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=23e3fc90b9aff806f7a509f03f406040d4ec6f6c
---

 src/libvlc.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/libvlc.c b/src/libvlc.c
index 45fa3a0..421bca8 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 )




More information about the vlc-devel mailing list