aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-05-20 01:06:28 +0200
committerSven Gothel <[email protected]>2014-05-20 01:06:28 +0200
commit0959f73ed6740724736c4871a7b63e3449f2f185 (patch)
tree034212fafc1c89e963e5a2f25674242295953401 /src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
parentcca2782818bec79f63a5da1719b11e15244dbea2 (diff)
GLMediaPlayerImpl: Change access of most fields to private for clarity and API stability
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java')
-rw-r--r--src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java b/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
index 05a94def8..ecf91124e 100644
--- a/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
+++ b/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java
@@ -100,10 +100,10 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl {
if(0==moviePtr) {
throw new GLException("OMX native instance null");
}
- if(!streamLoc.getScheme().equals("file")) {
- throw new IOException("Only file schemes are allowed: "+streamLoc);
+ if(!getURI().getScheme().equals("file")) {
+ throw new IOException("Only file schemes are allowed: "+getURI());
}
- final String path=streamLoc.getPath();
+ final String path=getURI().getPath();
if(DEBUG) {
System.out.println("initGLStream: clean path "+path);
}
@@ -111,7 +111,7 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl {
if(DEBUG) {
System.out.println("initGLStream: p1 "+this);
}
- _setStream(moviePtr, textureCount, path);
+ _setStream(moviePtr, getTextureCount(), path);
if(DEBUG) {
System.out.println("initGLStream: p2 "+this);
}
@@ -119,7 +119,7 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl {
@Override
protected final void initGLImpl(GL gl) throws IOException, GLException {
// NOP
- isInGLOrientation = true;
+ setIsGLOriented(true);
}
@Override