void
VLCView::MouseUp( BPoint where )
{
- vlc_value_t val;
- val.b_bool = true;
- var_Set( p_vout, "mouse-clicked", val );
+ var_SetBool( p_vout, "mouse-clicked", true );
}
/*****************************************************************************
/* Allocate structure */
p_vout->p_sys = (vout_sys_t*) malloc( sizeof( vout_sys_t ) );
if( p_vout->p_sys == NULL )
- {
- msg_Err( p_vout, "out of memory" );
- return( 1 );
- }
+ return 1;
p_vout->p_sys->i_width = p_vout->render.i_width;
p_vout->p_sys->i_height = p_vout->render.i_height;
p_vout->p_sys->source_chroma = p_vout->render.i_chroma;
static int Control( vout_thread_t * p_vout, int i_query, va_list args )
{
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
/* following functions are local */