com.panayotis.jubler.media.player.mplayer
Class MPlayerViewport
java.lang.Object
com.panayotis.jubler.media.player.mplayer.MPlayerViewport
- All Implemented Interfaces:
- Viewport
public class MPlayerViewport
- extends java.lang.Object
- implements Viewport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MPlayerViewport
public MPlayerViewport(MPlayer player)
- Creates a new instance of MPlayer
setParameters
public void setParameters(MediaFile mfile,
Subtitles sub,
PlayerFeedback feedback,
Time when)
- Specified by:
setParameters in interface Viewport
start
public void start()
throws ExtProgramException
- Specified by:
start in interface Viewport
- Throws:
ExtProgramException
pause
public boolean pause(boolean pause)
- Specified by:
pause in interface Viewport
quit
public boolean quit()
- Specified by:
quit in interface Viewport
jump
public boolean jump(int secs)
- Specified by:
jump in interface Viewport
seek
public boolean seek(int secs)
- Specified by:
seek in interface Viewport
delaySubs
public boolean delaySubs(float secs)
- Specified by:
delaySubs in interface Viewport
setSpeed
public boolean setSpeed(float secs)
- Specified by:
setSpeed in interface Viewport
setVolume
public boolean setVolume(int vol)
- Specified by:
setVolume in interface Viewport
getTime
public double getTime()
- Specified by:
getTime in interface Viewport
isPaused
public boolean isPaused()
- Specified by:
isPaused in interface Viewport
changeSubs
public boolean changeSubs(Subtitles newsubs)
- Specified by:
changeSubs in interface Viewport
setActive
public boolean setActive(boolean status,
Subtitles newsubs)
- Specified by:
setActive in interface Viewport