[vlc] [JVLC] use of LibVlcTrackDescription ( that extends jna PointerType )

StErMi stermi at gmail.com
Tue Nov 24 12:39:42 CET 2009


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/doc/doxygen/html/structlibvlc__track__description__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.
-- 
View this message in context: http://old.nabble.com/-JVLC--use-of-LibVlcTrackDescription-%28-that-extends-jna-PointerType-%29-tp26493626p26493626.html
Sent from the VLC (VideoLAN) mailing list archive at Nabble.com.




More information about the vlc mailing list