diff options
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.java | 10 |
1 files changed, 8 insertions, 2 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 c69108b04..336084734 100644 --- a/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java +++ b/src/jogl/classes/jogamp/opengl/util/av/impl/OMXGLMediaPlayer.java @@ -86,7 +86,7 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl { } @Override - protected void destroyImpl(final GL gl) { + protected void destroyImpl() { if (moviePtr != 0) { _stop(moviePtr); _detachVideoRenderer(moviePtr); @@ -137,7 +137,7 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl { } @Override - public synchronized boolean playImpl() { + public synchronized boolean resumeImpl() { if(0==moviePtr) { return false; } @@ -155,6 +155,12 @@ public class OMXGLMediaPlayer extends EGLMediaPlayerImpl { return true; } + @Override + protected final void stopImpl() { + destroyImpl(); + initOMX(); + } + /** @return time position after issuing the command */ @Override protected int seekImpl(final int msec) { |