* operation the refcount is 0, the object is destroyed.
* - Accessor _retain increase the refcount by 1 (XXX: to implement) */
p_mi->i_refcount = 1;
- p_mi->b_own_its_input_thread = VLC_TRUE;
+ p_mi->b_own_its_input_thread = true;
/* object_lock strategy:
* - No lock held in constructor
* - Lock when accessing all variable this lock is held
vlc_object_yield( p_input );
p_mi->p_input_thread = p_input;
- p_mi->b_own_its_input_thread = VLC_FALSE;
+ p_mi->b_own_its_input_thread = false;
return p_mi;
}
input_thread_t *p_input_thread =
libvlc_get_input_thread ( p_mi, p_e);
if ( !p_input_thread )
- return VLC_FALSE;
+ return false;
if ( !p_input_thread->b_die && !p_input_thread->b_dead )
{
vlc_object_release( p_input_thread );
- return VLC_TRUE;
+ return true;
}
vlc_object_release( p_input_thread );
- return VLC_FALSE;
+ return false;
}
void libvlc_media_player_set_rate(
/* We do return the right value, no need to throw an exception */
if( libvlc_exception_raised( p_e ) )
libvlc_exception_clear( p_e );
- return VLC_FALSE;
+ return false;
}
var_Get( p_input_thread, "seekable", &val );
vlc_object_release( p_input_thread );
/* We do return the right value, no need to throw an exception */
if( libvlc_exception_raised( p_e ) )
libvlc_exception_clear( p_e );
- return VLC_FALSE;
+ return false;
}
var_Get( p_input_thread, "can-pause", &val );
vlc_object_release( p_input_thread );