aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-02-02 08:33:30 +0100
committerSven Göthel <[email protected]>2024-02-02 08:33:30 +0100
commit1672233124e425e5446e1ae87974af248784be3c (patch)
treea91ea8e6c0a0dfbb03150855372430d517f6b3e7 /src/jogl/classes/jogamp
parent0dd2b17f1dd484d22d68828bfb61558be09a4bfa (diff)
GLMediaPlayerImpl.StreamWorker: Don't grow videoFramesFree since having removed buffer grow in commit 68ca5b14966cb7eec9501c17dc8b3b465421a68e
Diffstat (limited to 'src/jogl/classes/jogamp')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java b/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
index 6d71dd43e..2446fb15b 100644
--- a/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
+++ b/src/jogl/classes/jogamp/opengl/util/av/GLMediaPlayerImpl.java
@@ -1717,10 +1717,6 @@ public abstract class GLMediaPlayerImpl implements GLMediaPlayer {
if( STREAM_WORKER_DELAY > 0 ) {
java.lang.Thread.sleep(STREAM_WORKER_DELAY);
}
- final int capacityDelta = videoFramesFree.capacity() - videoFramesDecoded.capacity();
- if( videoFramesDecoded.isFull() && capacityDelta > 0 ) {
- videoFramesDecoded.growFullBuffer( capacityDelta );
- }
if( !videoFramesDecoded.put(nextFrame) ) {
throw new InternalError("XXX: free "+videoFramesFree+", decoded "+videoFramesDecoded+", "+GLMediaPlayerImpl.this);
}