VLC_EXPORT( void, vout_UnlinkPicture, ( vout_thread_t *, picture_t * ) );
VLC_EXPORT( void, vout_PlacePicture, ( const vout_thread_t *, unsigned int, unsigned int, unsigned int *, unsigned int *, unsigned int *, unsigned int * ) );
-VLC_EXPORT( int, vout_vaControlDefault, ( vout_thread_t *, int, va_list ) );
void vout_IntfInit( vout_thread_t * );
VLC_EXPORT( void, vout_EnableFilter, ( vout_thread_t *, char *,bool , bool ) );
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 */
[p_vout->p_sys->o_vout_view setOnTop: b_arg];
return VLC_SUCCESS;
- case VOUT_REPARENT:
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
}
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
[[p_vout->p_sys->o_glview container] setOnTop: b_arg];
return VLC_SUCCESS;
- case VOUT_REPARENT:
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
}
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
*****************************************************************************/
static int Control( vout_thread_t *p_vout, int i_query, va_list args )
{
- switch( i_query )
- {
- default:
- return vout_vaControlDefault( p_vout, i_query, args );
- }
+ (void) p_vout; (void) i_query; (void) args;
+ return VLC_EGENERIC;
}
*****************************************************************************/
static int Control( vout_thread_t *p_vout, int i_query, va_list args )
{
- switch( i_query )
- {
- default:
- return vout_vaControlDefault( p_vout, i_query, args );
- }
+ (void) p_vout; (void) i_query; (void) args;
+ return VLC_EGENERIC;
}
*****************************************************************************/
static int Control( vout_thread_t *p_vout, int i_query, va_list args )
{
- switch( i_query )
- {
- default:
- return vout_vaControlDefault( p_vout, i_query, args );
- }
+ (void) p_vout; (void) i_query; (void) args;
+ return VLC_EGENERIC;
}
/*****************************************************************************
#endif
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
vout_ReleaseWindow( p_vout->p_sys->owner_window );
return VLC_SUCCESS;
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
{
vout_sys_t *p_sys = p_vout->p_sys;
- switch( i_query )
- {
- default:
- if( p_sys->p_vout->pf_control )
- return p_sys->p_vout->pf_control( p_sys->p_vout, i_query, args );
- else
- return vout_vaControlDefault( p_vout, i_query, args );
- }
+ if( p_sys->p_vout->pf_control )
+ return p_sys->p_vout->pf_control( p_sys->p_vout, i_query, args );
+ return VLC_EGENERIC;
}
static int InitTextures( vout_thread_t *p_vout )
{
vout_sys_t *p_sys = p_vout->p_sys;
- switch( i_query )
- {
- default:
- if( p_sys->p_vout->pf_control )
- return p_sys->p_vout->pf_control( p_sys->p_vout, i_query, args );
- else
- return vout_vaControlDefault( p_vout, i_query, args );
- }
+ if( p_sys->p_vout->pf_control )
+ return p_sys->p_vout->pf_control( p_sys->p_vout, i_query, args );
+ return VLC_EGENERIC;
}
/*****************************************************************************
return VLC_SUCCESS;
default:
- return vout_vaControlDefault( p_vout, i_query, args );
+ return VLC_EGENERIC;
}
}
vout_ShowTextAbsolute
vout_ShowTextRelative
vout_UnlinkPicture
-vout_vaControlDefault
__xml_Create
xml_Delete
free( psz_string );
}
-/*****************************************************************************
- * vout_ControlDefault: default methods for video output control.
- *****************************************************************************/
-int vout_vaControlDefault( vout_thread_t *p_vout, int i_query, va_list args )
-{
- (void)args;
- switch( i_query )
- {
- default:
- msg_Dbg( p_vout, "control query not supported" );
- }
- return VLC_EGENERIC;
-}
-
/*****************************************************************************
* InitWindowSize: find the initial dimensions the video window should have.
*****************************************************************************