libvlc_media_track_info_t in VLCJ ?

This forum is about all development around libVLC.
bashar
New Cone
New Cone
Posts: 8
Joined: 08 Apr 2010 19:31

libvlc_media_track_info_t in VLCJ ?

Postby bashar » 27 Dec 2010 23:52

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

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: libvlc_media_track_info_t in VLCJ ?

Postby sherington » 28 Dec 2010 09:55

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.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests