From 9d1ee2b69fc943559a17dcd5d59984f8bba15296 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 5 Apr 2012 03:22:04 +0200 Subject: GLMediaPlayer: Use URLConnection to clarify emphasize passing an available connected URL. API doc: Useing html table for state chart --- src/test/com/jogamp/opengl/test/android/MovieSimpleActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/com') 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; -- cgit v1.2.3