[Android] VideoPlayer: stopPlayback when visibleBehind is canceled

Thomas Guillem git at videolan.org
Thu Sep 3 17:45:37 CEST 2015


vlc-ports/android | branch: data-binding | Thomas Guillem <thomas at gllm.fr> | Wed Sep  2 17:54:55 2015 +0200| [10110645870139e7f01f9b87593e8c9369f498ea] | committer: Geoffrey Métais

VideoPlayer: stopPlayback when visibleBehind is canceled

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=10110645870139e7f01f9b87593e8c9369f498ea
---

 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