Package chrriis.dj.nativeswing.swtimpl.components.VLCInput

Examples of chrriis.dj.nativeswing.swtimpl.components.VLCInput.VLCMediaState


      updateThread.start();
    }

    private void updateControlBar() {
      VLCInput vlcInput = vlcPlayer.getVLCInput();
      VLCMediaState state = vlcInput.getMediaState();
      boolean isValid = state == VLCMediaState.OPENING || state == VLCMediaState.BUFFERING || state == VLCMediaState.PLAYING || state == VLCMediaState.PAUSED || state == VLCMediaState.STOPPING;
      if(isValid) {
        int time = vlcInput.getAbsolutePosition();
        int length = vlcInput.getDuration();
        isValid = time >= 0 && length > 0;
View Full Code Here

TOP

Related Classes of chrriis.dj.nativeswing.swtimpl.components.VLCInput.VLCMediaState

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.