[Android] Ensure video track is enabled

Geoffrey Métais git at videolan.org
Tue Apr 5 18:55:05 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Apr  5 18:50:26 2016 +0200| [976c977385e2da8d72873c7fde6c614904ef8bbf] | committer: Geoffrey Métais

Ensure video track is enabled

In case we switch from background playback

> https://code.videolan.org/videolan/vlc-android/commit/976c977385e2da8d72873c7fde6c614904ef8bbf
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 1 +
 1 file changed, 1 insertion(+)

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 ef54460..5620e95 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -726,6 +726,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
         mSurfacesAttached = true;
         vlcVout.addCallback(this);
         vlcVout.attachViews();
+        mService.setVideoTrackEnabled(true);
 
         initUI();
 



More information about the Android mailing list