Commit e41147c8 authored by Rafaël Carré's avatar Rafaël Carré

Use the verbose variable, over the private i_verbose member

parent 99fec92f
......@@ -506,7 +506,7 @@ createnew:
i_http_port = var_CreateGetInteger( p_demux, "rtsp-http-port" );
if( ( p_sys->rtsp = RTSPClient::createNew( *p_sys->env,
p_demux->p_libvlc->i_verbose > 1,
var_CreateGetInteger( p_demux, "verbose" ) > 1,
"VLC media player", i_http_port ) ) == NULL )
{
msg_Err( p_demux, "RTSPClient::createNew failed (%s)",
......
......@@ -305,7 +305,8 @@ static void Close( vlc_object_t *p_this )
/* Flush the queue and unsubscribe from the message queue */
FlushQueue( p_intf->p_sys->p_sub, p_intf->p_sys->p_file,
p_intf->p_sys->i_mode, p_intf->p_libvlc->i_verbose );
p_intf->p_sys->i_mode,
var_CreateGetInteger( p_intf, "verbose" ) );
msg_Unsubscribe( p_intf, p_intf->p_sys->p_sub );
switch( p_intf->p_sys->i_mode )
......@@ -343,8 +344,8 @@ static void Run( intf_thread_t *p_intf )
while( !p_intf->b_die )
{
FlushQueue( p_intf->p_sys->p_sub, p_intf->p_sys->p_file,
p_intf->p_sys->i_mode, p_intf->p_libvlc->i_verbose );
p_intf->p_sys->i_mode,
var_CreateGetInteger( p_intf, "verbose" ) );
if( p_intf->p_sys->p_rrd )
DoRRD( p_intf );
......
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