aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/openmax/OMXInstance.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes/com/sun/openmax/OMXInstance.java')
-rw-r--r--src/classes/com/sun/openmax/OMXInstance.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/classes/com/sun/openmax/OMXInstance.java b/src/classes/com/sun/openmax/OMXInstance.java
index abddee5a8..0af6901b8 100644
--- a/src/classes/com/sun/openmax/OMXInstance.java
+++ b/src/classes/com/sun/openmax/OMXInstance.java
@@ -329,7 +329,7 @@ public class OMXInstance {
}
native float _getCurrentPosition(long moviePtr);
- public synchronized void dispose(GL gl) {
+ public synchronized void destroy(GL gl) {
removeAllEGLImageTexture2D(gl);
if (moviePtr != 0) {
long ptr = moviePtr;
@@ -344,7 +344,7 @@ public class OMXInstance {
}
protected synchronized void finalize() {
if (moviePtr != 0) {
- dispose(null);
+ destroy(null);
}
}
native void _destroyInstance(long moviePtr);
@@ -453,7 +453,7 @@ public class OMXInstance {
eglExt.eglDestroySync(eglImgTexs[i].sync);
}
if(null!=gl) {
- eglImgTexs[i].texture.dispose(gl);
+ eglImgTexs[i].texture.destroy(gl);
}
eglImgTexs[i]=null;
}