[JVLC]use of LibVlcTrackDescription (jna PointerType)
Posted: 29 Nov 2009 11:24
Hi all, I need to get the informations about audio tracks and subtitles of a video ( mkv, dvd ecc ecc ).
The problem is that I don't know how to retrive them when I get the LibVlcTrackDescription object.
I know that I have to use libvlc_video_get_spu_description and libvlc_audio_get_track_description that returns a LibVlcTrackDescription object ( it's class extends jna PointerType ). But know, what have I to do with this LibVlcTrackDescription object? How can I access to it's members?
This is the c documentation about it: http://www.videolan.org/developers/vlc/ ... on__t.html
So I know that I need to retrieve these 2 members: psz_name ( the string value of the track ) and p_next for the next LibVlcTrackDescription record.
Someone have some examples? Couse I can't find any example about LibVlcTrackDescription usage or PointerType usage in general.
Thank you very much.
The problem is that I don't know how to retrive them when I get the LibVlcTrackDescription object.
I know that I have to use libvlc_video_get_spu_description and libvlc_audio_get_track_description that returns a LibVlcTrackDescription object ( it's class extends jna PointerType ). But know, what have I to do with this LibVlcTrackDescription object? How can I access to it's members?
This is the c documentation about it: http://www.videolan.org/developers/vlc/ ... on__t.html
So I know that I need to retrieve these 2 members: psz_name ( the string value of the track ) and p_next for the next LibVlcTrackDescription record.
Someone have some examples? Couse I can't find any example about LibVlcTrackDescription usage or PointerType usage in general.
Thank you very much.