summaryrefslogtreecommitdiffstats
path: root/src/graphui
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/gl/shapes/MediaButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/MediaButton.java b/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/MediaButton.java
index 290abba6e..241fad389 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/MediaButton.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/gl/shapes/MediaButton.java
@@ -105,7 +105,7 @@ public class MediaButton extends TexSeqButton {
public void run() {
// loop for-ever ..
mPlayer.seek(0);
- mPlayer.play();
+ mPlayer.resume();
} }.start();
} else if( 0 != ( GLMediaEventListener.EVENT_CHANGE_ERR & event_mask ) ) {
final StreamException se = mPlayer.getStreamException();
@@ -128,7 +128,7 @@ public class MediaButton extends TexSeqButton {
try {
mPlayer.initGL(gl);
mPlayer.setAudioVolume( 0f );
- mPlayer.play();
+ mPlayer.resume();
markStateDirty();
} catch (final Exception e) {
e.printStackTrace();