Commit fd463225 authored by Rémi Duraffort's avatar Rémi Duraffort

logger: use var_inherit.

parent efa1666a
......@@ -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 )
{
......
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