aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java
index 090b947d9..557cf28d7 100755
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieCube.java
@@ -69,7 +69,12 @@ public class MovieCube implements GLEventListener, GLMediaEventListener {
TexCubeES2 cube=null;
GLMediaPlayer mPlayer=null;
URLConnection stream = null;
-
+
+ public MovieCube() throws IOException {
+ this(new URL("http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4").openConnection(),
+ -2.3f, 0f, 0f);
+ }
+
public MovieCube(URLConnection stream, float zoom0, float rotx, float roty) throws IOException {
this.stream = stream;
mPlayer = GLMediaPlayerFactory.create();