Page 1 of 1

libvlc_media_track_info_t in VLCJ ?

Posted: 27 Dec 2010 23:52
by bashar
I want to use the method libvlc_media_get_tracks_info to get track information (codec details, bitRate, channels..etc) about a track. However, in VLCJ the structure libvlc_media_track_info_t which holds track information is mapped as an empty structure that has no fields - why is that ? was it too hard to use JNA to map the C struct (which has a Union inside it) to a Java class ? Will that code be added anytime soon?

http://vlcj.googlecode.com/svn/trunk/vl ... nfo_t.html

Re: libvlc_media_track_info_t in VLCJ ?

Posted: 28 Dec 2010 09:55
by sherington
No it's not "too hard". As to why: well, there's a lot of other functionality and only so much spare time to work for free.

Some code for this was actually committed to the trunk last week but it is totally untested.

But you have the source, so go for it.