[Android] Disable fast seek by default

Nicolas Pomepuy git at videolan.org
Tue Aug 3 12:53:19 UTC 2021


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Aug  3 14:13:03 2021 +0200| [07cade7d334a0ccdb5b25c24cf75e7f5a52a50d0] | committer: Nicolas Pomepuy

Disable fast seek by default

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

 .../resources/src/main/java/org/videolan/resources/VLCOptions.kt        | 2 +-
 application/vlc-android/res/xml/preferences_video.xml                   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/application/resources/src/main/java/org/videolan/resources/VLCOptions.kt b/application/resources/src/main/java/org/videolan/resources/VLCOptions.kt
index b32e79ff7..b01219d4b 100644
--- a/application/resources/src/main/java/org/videolan/resources/VLCOptions.kt
+++ b/application/resources/src/main/java/org/videolan/resources/VLCOptions.kt
@@ -222,7 +222,7 @@ object VLCOptions {
         if (noVideo) media.addOption(":no-video")
         if (paused) media.addOption(":start-paused")
         if (!prefs.getBoolean("subtitles_autoload", true)) media.addOption(":sub-language=none")
-        if (!benchmark && prefs.getBoolean("media_fast_seek", true)) media.addOption(":input-fast-seek")
+        if (!benchmark && prefs.getBoolean("media_fast_seek", false)) media.addOption(":input-fast-seek")
 
         if (hasRenderer) {
             media.addOption(":sout-chromecast-audio-passthrough=" + prefs.getBoolean("casting_passthrough", true))
diff --git a/application/vlc-android/res/xml/preferences_video.xml b/application/vlc-android/res/xml/preferences_video.xml
index 3d223ca69..eeeda8194 100644
--- a/application/vlc-android/res/xml/preferences_video.xml
+++ b/application/vlc-android/res/xml/preferences_video.xml
@@ -24,7 +24,7 @@
             android:title="@string/playback_speed_title"/>
     <CheckBoxPreference
             app:singleLineTitle="false"
-            android:defaultValue="true"
+            android:defaultValue="false"
             android:key="media_fast_seek"
             android:summary="@string/media_fast_seek_summary"
             android:title="@string/media_fast_seek"/>



More information about the Android mailing list