vlc, how to return ntf_thread_t Pointer??

This forum is about all development around libVLC.
wj780127
New Cone
New Cone
Posts: 5
Joined: 22 Dec 2009 03:44

vlc, how to return ntf_thread_t Pointer??

Postby wj780127 » 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);

wj780127
New Cone
New Cone
Posts: 5
Joined: 22 Dec 2009 03:44

Re: vlc, how to return ntf_thread_t Pointer??

Postby wj780127 » 22 Dec 2009 04:13

if(p_intf)
{
var_SetInteger( p_intf->p_libvlc, "key-action", ACTIONID_JUMP_BACKWARD_SHORT );
}

this p_intf is null,No return value;

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: vlc, how to return ntf_thread_t Pointer??

Postby Jean-Baptiste Kempf » 22 Dec 2009 09:33

What are you doing? Modifying VLC?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

wj780127
New Cone
New Cone
Posts: 5
Joined: 22 Dec 2009 03:44

Re: vlc, how to return ntf_thread_t Pointer??

Postby wj780127 » 22 Dec 2009 12:26

yes, I have solved that problem. thank your

wj780127
New Cone
New Cone
Posts: 5
Joined: 22 Dec 2009 03:44

Re: vlc, how to return ntf_thread_t Pointer??

Postby wj780127 » 22 Dec 2009 12:27

i is Few more interfaces


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 42 guests