summaryrefslogtreecommitdiffstats
path: root/src/demos/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-15 02:43:23 +0100
committerSven Gothel <[email protected]>2023-03-15 02:43:23 +0100
commitc5e0818072730985f8d2d4c4b227aa937ba53595 (patch)
tree50f938889ff53e4d991e625efdbba2a3170160cf /src/demos/com/jogamp
parent7981d94481c82570d944162ca5950d314bfed0c1 (diff)
GLMediaPlayer usage: Fix verbose strings, disable verbose in GraphUI demos
Diffstat (limited to 'src/demos/com/jogamp')
-rw-r--r--src/demos/com/jogamp/opengl/demos/av/MovieSimple.java4
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java2
-rw-r--r--src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java b/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java
index 27735f4c7..9e61e8661 100644
--- a/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java
+++ b/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java
@@ -385,8 +385,8 @@ public class MovieSimple implements GLEventListener {
@Override
public void attributesChanged(final GLMediaPlayer mp, final int event_mask, final long when) {
- System.err.println("MovieCube AttributesChanges: events_mask 0x"+Integer.toHexString(event_mask)+", when "+when);
- System.err.println("MovieCube State: "+mp);
+ System.err.println("MovieSimple AttributesChanges: events_mask 0x"+Integer.toHexString(event_mask)+", when "+when);
+ System.err.println("MovieSimple State: "+mp);
if( 0 != ( GLMediaEventListener.EVENT_CHANGE_EOS & event_mask ) ) {
new InterruptSource.Thread() {
@Override
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java b/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java
index cb1aaa041..5dee77f2a 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/GPUUISceneGLListener0A.java
@@ -558,7 +558,7 @@ public class GPUUISceneGLListener0A implements GLEventListener {
final MediaButton mPlayerButton = new MediaButton(scene.getVertexFactory(), renderModes,
button2XSize, button2YSize, mPlayer);
mPlayerButton.setName(BUTTON_MOVIE);
- mPlayerButton.setVerbose(true);
+ mPlayerButton.setVerbose(false);
mPlayerButton.addDefaultEventListener();
mPlayerButton.move(xStartRight, yStartTop - diffY*1, 0f);
mPlayerButton.setToggleable(true);
diff --git a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java
index 7ba6c135b..87828f3e5 100644
--- a/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java
+++ b/src/demos/com/jogamp/opengl/demos/graph/ui/UISceneDemo01.java
@@ -198,7 +198,7 @@ public class UISceneDemo00 implements GLEventListener {
final GLMediaPlayer mPlayer = GLMediaPlayerFactory.createDefault();
// mPlayer.setTextureUnit(texUnitMediaPlayer);
final MediaButton b = new MediaButton(SVertex.factory(), renderModes, sw, sh, mPlayer);
- b.setVerbose(true);
+ b.setVerbose(false);
b.addDefaultEventListener();
b.setToggleable(true);
b.setToggle(true);