Package com.jogamp.opengl.util.av
Interface GLMediaPlayer.GLMediaFrameListener
-
- All Superinterfaces:
TextureSequence.TexSeqEventListener<GLMediaPlayer>
- Enclosing interface:
- GLMediaPlayer
public static interface GLMediaPlayer.GLMediaFrameListener extends TextureSequence.TexSeqEventListener<GLMediaPlayer>
Optional Video
TextureSequence.TextureFramelistener. Usually one wants to useGLMediaPlayer.getNextTexture(GL)is used to retrieve the next frame and keep decoding going, whileGLMediaPlayer#getLastTexture(GL)is used to simply retrieve the last decoded frame.As the contract of
TextureSequence.TexSeqEventListenerrequests, implementations ofGLMediaPlayer.GLMediaEventListenershall also:- off-load complex or
GLMediaPlayercommands on another thread, or - simply changing a volatile state of their
GLEventListenerimplementation.
-
-
Method Summary
-
Methods inherited from interface com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener
newFrameAvailable
-
-