From 85ff5a8b745a0dd582d19871f685b7b0beb1af70 Mon Sep 17 00:00:00 2001 From: Sven Göthel Date: Fri, 26 Jan 2024 20:08:49 +0100 Subject: GLMediaPlayer: Fix playing with single-threaded mode w/ texture-count 1 --- src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java') diff --git a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java index 94efb43c0..4ca6ae503 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java +++ b/src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java @@ -481,8 +481,9 @@ public interface GLMediaPlayer extends TextureSequence { * @param vid video stream id, see audio and video Stream IDs * @param aid video stream id, see audio and video Stream IDs * @param textureCount desired number of buffered textures to be decoded off-thread, will be validated by implementation. - * The minimum value is {@link #TEXTURE_COUNT_DEFAULT}. - * Ignored if video is muted. + * The minimum value is {@link #TEXTURE_COUNT_MIN} (single-threaded) or above to enable multi-threaded stream decoding. + * Default is {@link #TEXTURE_COUNT_DEFAULT}. + * Value is ignored if video is muted. * @throws IllegalStateException if not invoked in {@link State#Uninitialized} * @throws IllegalArgumentException if arguments are invalid * @since 2.3.0 -- cgit v1.2.3