JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.util.av.GLMediaPlayer.GLMediaFrameListener Interface Reference

More...

Inheritance diagram for com.jogamp.opengl.util.av.GLMediaPlayer.GLMediaFrameListener:
Collaboration diagram for com.jogamp.opengl.util.av.GLMediaPlayer.GLMediaFrameListener:

Additional Inherited Members

- Public Member Functions inherited from com.jogamp.opengl.util.texture.TextureSequence.TexSeqEventListener< T extends TextureSequence >
void newFrameAvailable (T ts, TextureFrame newFrame, long when)
 Signaling listeners that a new TextureFrame is available. More...
 

Detailed Description

Optional Video TextureFrame listener. Usually one wants to use GLMediaPlayer#getNextTexture(GL) is used to retrieve the next frame and keep decoding going, while GLMediaPlayer#getLastTexture(GL) is used to simply retrieve the last decoded frame.

As the contract of TexSeqEventListener requests, implementations of GLMediaEventListener shall also:

  • off-load complex or GLMediaPlayer commands on another thread, or
  • simply changing a volatile state of their GLEventListener implementation.

Definition at line 330 of file GLMediaPlayer.java.


The documentation for this interface was generated from the following file: