[Android] Revert "Thread mediaplayer native stop()"
Geoffrey Métais
git at videolan.org
Mon Aug 21 11:34:10 CEST 2017
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Aug 21 10:25:25 2017 +0200| [09894288042f699698a6320cbf1c699070b8cd25] | committer: Geoffrey Métais
Revert "Thread mediaplayer native stop()"
This reverts commit 1dbdcb3f3041d57ea0be07b929c3339719ade1b1.
> https://code.videolan.org/videolan/vlc-android/commit/09894288042f699698a6320cbf1c699070b8cd25
---
libvlc/src/org/videolan/libvlc/MediaPlayer.java | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index 9c36d0399..ba881f0d3 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -621,12 +621,7 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
mPlaying = false;
mAudioReset = true;
}
- new Thread(new Runnable() {
- @Override
- public void run() {
- nativeStop();
- }
- }).start();
+ nativeStop();
}
/**
More information about the Android
mailing list