[Android] VideoPlayer: stopPlayback when visibleBehind is canceled
Thomas Guillem
git at videolan.org
Wed Sep 2 19:40:10 CEST 2015
vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Sep 2 17:54:55 2015 +0200| [8fe4d0d932b837f08ac3f1bc3a9db48dff1f15e6] | committer: Thomas Guillem
VideoPlayer: stopPlayback when visibleBehind is canceled
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8fe4d0d932b837f08ac3f1bc3a9db48dff1f15e6
---
vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 49db049..5f3cae9 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -551,7 +551,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
@Override
public void onVisibleBehindCanceled() {
super.onVisibleBehindCanceled();
- pause();
+ stopPlayback();
+ exitOK();
}
@Override
More information about the Android
mailing list