[vlc-commits] commit: logger: use var_inherit. (=?UTF-8?Q?R=C3=A9mi=20Duraffort=20?=)
git at videolan.org
git at videolan.org
Fri Dec 3 12:38:26 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Dec 3 12:05:56 2010 +0100| [fd4632259361407e868b585888e1dcd99cfa7084] | committer: Rémi Duraffort
logger: use var_inherit.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd4632259361407e868b585888e1dcd99cfa7084
---
modules/misc/logger.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index e6e1126..a275498 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -369,9 +369,9 @@ static void Close( vlc_object_t *p_this )
static void Overflow (msg_cb_data_t *p_sys, msg_item_t *p_item, unsigned overruns)
{
VLC_UNUSED(overruns);
- int verbosity = var_CreateGetInteger( p_sys->p_intf, "log-verbose" );
+ int verbosity = var_InheritInteger( p_sys->p_intf, "log-verbose" );
if (verbosity == -1)
- verbosity = var_CreateGetInteger( p_sys->p_intf, "verbose" );
+ verbosity = var_InheritInteger( p_sys->p_intf, "verbose" );
switch( p_item->i_type )
{
More information about the vlc-commits
mailing list