summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-14 14:22:31 +0100
committerSven Gothel <[email protected]>2023-03-14 14:22:31 +0100
commit5922ac12e89fd7b60e91b1b46dce93d0c35d2fd0 (patch)
treed7a55e16eee226d62bb96d98855917acce07a310 /src/jogl/classes/jogamp
parent3e17551fa1a61d1044d4e3d76c0f09293c4584d4 (diff)
GLMediaPlayerImpl: Only kick-off StreamWorker at initGL(..)
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java b/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
index 42dc4e70b..6408e3d6f 100644
--- a/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
+++ b/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
@@ -1579,11 +1579,6 @@ public abstract class GLMediaPlayerImpl implements GLMediaPlayer {
return;
}
if( wasUninitialized ) {
- if( null == streamWorker ) {
- if( TEXTURE_COUNT_MIN < textureCount || STREAM_ID_NONE == vid ) { // Enable StreamWorker for 'audio only' as well (Bug 918).
- streamWorker = new StreamWorker();
- }
- }
if( DEBUG ) {
System.err.println("XXX Initialize @ updateAttributes: "+this);
}