vlc, how to return ntf_thread_t Pointer??
Posted: 22 Dec 2009 04:09
vlc, how to return ntf_thread_t Pointer??I would like to call Quick Play Interface.code:
void libvlc_play_skipback( libvlc_media_player_t *p_mi, libvlc_exception_t *p_e )
vout_thread_t *p_vout = GetVout( p_mi, p_e );
if( !p_vout ) return;
intf_thread_t *p_intf = NULL;
p_intf = ( intf_thread_t * ) vlc_object_find_name( p_vout, "postproc", FIND_CHILD );
if(p_intf)
{
var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_JUMP_BACKWARD_SHORT );
}
vlc_object_release(p_vout);
void libvlc_play_skipback( libvlc_media_player_t *p_mi, libvlc_exception_t *p_e )
vout_thread_t *p_vout = GetVout( p_mi, p_e );
if( !p_vout ) return;
intf_thread_t *p_intf = NULL;
p_intf = ( intf_thread_t * ) vlc_object_find_name( p_vout, "postproc", FIND_CHILD );
if(p_intf)
{
var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_JUMP_BACKWARD_SHORT );
}
vlc_object_release(p_vout);