Logger.debug("numberOfTracks={}", numberOfTracks);
List<TrackInfo> result = new ArrayList<TrackInfo>(numberOfTracks);
if(numberOfTracks > 0) {
Pointer[] tracks = tracksPointer.getValue().getPointerArray(0, numberOfTracks);
for(Pointer track : tracks) {
libvlc_media_track_t trackInfo = new libvlc_media_track_t(track);
switch(libvlc_track_type_t.valueOf(trackInfo.i_type)) {
case libvlc_track_unknown:
if(types == null || types.contains(TrackType.UNKNOWN)) {
result.add(new UnknownTrackInfo(
trackInfo.i_codec,