summaryrefslogtreecommitdiffstats
path: root/src/demos
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-03-19 16:27:18 +0100
committerSven Gothel <[email protected]>2023-03-19 16:27:18 +0100
commit94c895bcf8a98218cf5dc7832f00212ce32945ec (patch)
treefca93c8acb4f33b5a2952a10c5dc5aa273f3018b /src/demos
parenta43869543093d0bbd154df7ea6908a5b53a8302e (diff)
Demo MovieSimple: Default to useOrigScale=false, enable @ main w/ -orig_scale
Diffstat (limited to 'src/demos')
-rw-r--r--src/demos/com/jogamp/opengl/demos/av/MovieSimple.java8
1 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 ef4392743..6a5e932b9 100644
--- a/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java
+++ b/src/demos/com/jogamp/opengl/demos/av/MovieSimple.java
@@ -674,7 +674,7 @@ public class MovieSimple implements GLEventListener {
int height = 600;
int textureCount = 3; // default - threaded
boolean ortho = true;
- boolean zoom = false;
+ boolean useOrigScale = false;
boolean forceES2 = false;
boolean forceES3 = false;
@@ -729,8 +729,8 @@ public class MovieSimple implements GLEventListener {
swapInterval = MiscUtils.atoi(args[i], swapInterval);
} else if(args[i].equals("-projection")) {
ortho=false;
- } else if(args[i].equals("-zoom")) {
- zoom=true;
+ } else if(args[i].equals("-orig_scale")) {
+ useOrigScale=true;
} else if(args[i].equals("-loop")) {
loopEOS=true;
} else if(args[i].equals("-urlN")) {
@@ -805,7 +805,7 @@ public class MovieSimple implements GLEventListener {
});
mss[i] = new MovieSimple(null);
mss[i].setSwapInterval(swapInterval);
- mss[i].setUseOriginalScale(!zoom);
+ mss[i].setUseOriginalScale(useOrigScale);
mss[i].setOrthoProjection(ortho);
mss[i].mPlayer.attachObject(WINDOW_KEY, windows[i]);
mss[i].mPlayer.addEventListener(myGLMediaEventListener);