diff options
author | Sven Göthel <[email protected]> | 2024-01-26 20:08:49 +0100 |
---|---|---|
committer | Sven Göthel <[email protected]> | 2024-01-26 20:08:49 +0100 |
commit | 85ff5a8b745a0dd582d19871f685b7b0beb1af70 (patch) | |
tree | dd6c808ac1e9edf17af205cf400de58de7581636 /src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java | |
parent | f981e929d29157b6128db6cccd585baf58049516 (diff) |
GLMediaPlayer: Fix playing with single-threaded mode w/ texture-count 1
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java | 5 |
1 files changed, 3 insertions, 2 deletions
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 <a href="#streamIDs">audio and video Stream IDs</a> * @param aid video stream id, see <a href="#streamIDs">audio and video Stream IDs</a> * @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 |