[Android] Video player: reset options later

Geoffrey Métais git at videolan.org
Wed Jan 16 10:32:11 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Wed Jan 16 10:31:50 2019 +0100| [220670368d04d288bc6cbc25489fbe74c224793f] | committer: Geoffrey Métais

Video player: reset options later

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

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

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 cf51a8db9..35755f88c 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -443,10 +443,8 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
             }
             if (mSettings.getBoolean("video_transition_show", true)) showTitle();
             initUI();
-            setPlaybackParameters();
             mForcedTime = mLastTime = -1;
             enableSubs();
-            if (mOptionsDelegate != null) mOptionsDelegate.setup();
         }
     }
 
@@ -1541,6 +1539,7 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
             mTitle.setText(mw.getTitle());
         // Get possible subtitles
         observeDownloadedSubtitles();
+        if (mOptionsDelegate != null) mOptionsDelegate.setup();
     }
 
     private void encounteredError() {



More information about the Android mailing list