From 5922ac12e89fd7b60e91b1b46dce93d0c35d2fd0 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 14 Mar 2023 14:22:31 +0100 Subject: GLMediaPlayerImpl: Only kick-off StreamWorker at initGL(..) --- src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl') 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); } -- cgit v1.2.3