[Android] VideoPlayerActivity: increase switchToAudio timeout

Thomas Guillem git at videolan.org
Sat Dec 3 12:57:40 CET 2016


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Sat Dec  3 12:57:19 2016 +0100| [f1e1dc27f0b6e9710a129cc1811bec53f14f377a] | committer: Thomas Guillem

VideoPlayerActivity: increase switchToAudio timeout

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

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 2 +-
 1 file changed, 1 insertion(+), 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 097ded8..3849b90 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1786,7 +1786,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IVLCVout.C
 
         final IVLCVout vlcVout = mService.getVLCVout();
         if (vlcVout.areViewsAttached() && voutCount == 0) {
-            mHandler.postDelayed(mSwitchAudioRunnable, 1000);
+            mHandler.postDelayed(mSwitchAudioRunnable, 4000);
         } else if (voutCount > 0)
             mFov = mService.getCurrentVideoTrack().projection == Media.VideoTrack.Projection.Rectangular ? 0f : 80f;
     }



More information about the Android mailing list