if( hasInput() )
{
int i_type = var_Type( p_input, "next-chapter" );
- var_SetBool( p_input, (i_type & VLC_VAR_TYPE) != 0 ?
- "prev-chapter":"prev-title", true );
+ var_SetVoid( p_input, (i_type & VLC_VAR_TYPE) != 0 ?
+ "prev-chapter":"prev-title" );
}
}
if( hasInput() )
{
int i_type = var_Type( p_input, "next-chapter" );
- var_SetBool( p_input, (i_type & VLC_VAR_TYPE) != 0 ?
- "next-chapter":"next-title", true );
+ var_SetVoid( p_input, (i_type & VLC_VAR_TYPE) != 0 ?
+ "next-chapter":"next-title" );
}
}
/* Should be PLItemChanged Event */
if( !p_intf->p_sys->b_isDialogProvider )
{
- vlc_mutex_lock( &p_intf->change_lock );
if( p_input && ( p_input->b_dead || !vlc_object_alive (p_input) ) )
{
- emit inputChanged( NULL );
+ emit inputChanged( p_input );
var_DelCallback( p_input, "state", PLItemChanged, this );
vlc_object_release( p_input );
p_input = NULL;
- vlc_mutex_unlock( &p_intf->change_lock );
return;
}
emit inputChanged( p_input );
}
}
- vlc_mutex_unlock( &p_intf->change_lock );
}
else
{