aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-12-18 09:51:19 +0100
committerSven Gothel <[email protected]>2023-12-18 09:51:19 +0100
commit9dbfdcd7524b2bbd5eecb7fd45bbc544e24724c5 (patch)
tree227537eaa13c780ded1db6e6bf0e2fe0bf12810f
parent3ea26f16a0ea976b37e8661fdc9ed9ddaa1e985e (diff)
OMXGLMediaPlayer: Add 'printNativeInfo(..)' - completes commit d99c2d8b28470d335ab5b30124ef8b0607b3b90f
-rw-r--r--src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java b/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
index 2c2fc57d0..f37083d8a 100644
--- a/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
+++ b/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
@@ -29,6 +29,7 @@
package jogamp.opengl.util.av.impl;
import java.io.IOException;
+import java.io.PrintStream;
import com.jogamp.common.av.PTS;
import com.jogamp.common.os.Clock;
@@ -77,6 +78,11 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl {
}
@Override
+ public final void printNativeInfo(final PrintStream out) {
+ out.println("NullGLMediaPlayer: available "+available);
+ }
+
+ @Override
protected TextureSequence.TextureFrame createTexImage(final GL gl, final int texName) {
final EGLTextureFrame eglTex = (EGLTextureFrame) super.createTexImage(gl, texName);
_setStreamEGLImageTexture2D(moviePtr, texName, eglTex.getImage(), eglTex.getSync());