Package uk.co.caprica.vlcj.binding.internal

Examples of uk.co.caprica.vlcj.binding.internal.libvlc_track_description_t


    // === Description Controls =================================================

    @Override
    public List<TrackDescription> getTitleDescriptions() {
        Logger.debug("getTitleDescriptions()");
        libvlc_track_description_t trackDescriptions = libvlc.libvlc_video_get_title_description(mediaPlayerInstance);
        return getTrackDescriptions(trackDescriptions);
    }
View Full Code Here


    }

    @Override
    public List<TrackDescription> getVideoDescriptions() {
        Logger.debug("getVideoDescriptions()");
        libvlc_track_description_t trackDescriptions = libvlc.libvlc_video_get_track_description(mediaPlayerInstance);
        return getTrackDescriptions(trackDescriptions);
    }
View Full Code Here

    }

    @Override
    public List<TrackDescription> getAudioDescriptions() {
        Logger.debug("getAudioDescriptions()");
        libvlc_track_description_t trackDescriptions = libvlc.libvlc_audio_get_track_description(mediaPlayerInstance);
        return getTrackDescriptions(trackDescriptions);
    }
View Full Code Here

    }

    @Override
    public List<TrackDescription> getSpuDescriptions() {
        Logger.debug("getSpuDescriptions()");
        libvlc_track_description_t trackDescriptions = libvlc.libvlc_video_get_spu_description(mediaPlayerInstance);
        return getTrackDescriptions(trackDescriptions);
    }
View Full Code Here

    public List<String> getChapterDescriptions(int title) {
        Logger.debug("getChapterDescriptions(title={})", title);
        List<String> trackDescriptionList;
        if(title >= 0 && title < getTitleCount()) {
            trackDescriptionList = new ArrayList<String>();
            libvlc_track_description_t trackDescriptions = libvlc.libvlc_video_get_chapter_description(mediaPlayerInstance, title);
            libvlc_track_description_t trackDescription = trackDescriptions;
            while(trackDescription != null) {
                trackDescriptionList.add(trackDescription.psz_name);
                trackDescription = trackDescription.p_next;
            }
            if(trackDescriptions != null) {
View Full Code Here

     * @return collection of track descriptions
     */
    private List<TrackDescription> getTrackDescriptions(libvlc_track_description_t trackDescriptions) {
        Logger.debug("getTrackDescriptions()");
        List<TrackDescription> trackDescriptionList = new ArrayList<TrackDescription>();
        libvlc_track_description_t trackDescription = trackDescriptions;
        while(trackDescription != null) {
            trackDescriptionList.add(new TrackDescription(trackDescription.i_id, trackDescription.psz_name));
            trackDescription = trackDescription.p_next;
        }
        if(trackDescriptions != null) {
View Full Code Here

TOP

Related Classes of uk.co.caprica.vlcj.binding.internal.libvlc_track_description_t

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.