aboutsummaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-04-05 03:22:04 +0200
committerSven Gothel <[email protected]>2012-04-05 03:22:04 +0200
commit9d1ee2b69fc943559a17dcd5d59984f8bba15296 (patch)
tree8402f40f500a18f26e8e7580e0a2185c35c02726 /src/test
parenta4c8271adc1932903a34e34bee24ff274ed1a81e (diff)
GLMediaPlayer: Use URLConnection to clarify emphasize passing an available connected URL. API doc: Useing html table for state chart
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/android/MovieSimpleActivity.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/com/jogamp/opengl/test/android/MovieSimpleActivity.java b/src/test/com/jogamp/opengl/test/android/MovieSimpleActivity.java
index d43c87efc..c52aea086 100644
--- a/src/test/com/jogamp/opengl/test/android/MovieSimpleActivity.java
+++ b/src/test/com/jogamp/opengl/test/android/MovieSimpleActivity.java
@@ -110,7 +110,7 @@ public class MovieSimpleActivity extends NewtBaseActivity {
try {
final GLMediaPlayer mPlayerMain = GLMediaPlayerFactory.create();
- mPlayerMain.initStream(urlConnection0.getURL());
+ mPlayerMain.initStream(urlConnection0);
final GLMediaPlayer mPlayerHUD;
if(!mPlayerNormal) {
@@ -118,7 +118,7 @@ public class MovieSimpleActivity extends NewtBaseActivity {
mPlayerHUD = mPlayerMain;
} else {
mPlayerHUD = GLMediaPlayerFactory.create();
- mPlayerHUD.initStream(urlConnection1.getURL());
+ mPlayerHUD.initStream(urlConnection1);
}
} else {
mPlayerHUD = null;