[Android] Activate fast-seek by default

Geoffrey Métais git at videolan.org
Fri Jan 26 12:08:18 CET 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 25 18:00:43 2018 +0100| [a637c43b60b25b36cbde4b93a9b507bfddea6a9a] | committer: Geoffrey Métais

Activate fast-seek by default

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

 vlc-android/res/values/strings.xml                    | 2 +-
 vlc-android/res/xml/preferences_video.xml             | 2 +-
 vlc-android/src/org/videolan/vlc/util/VLCOptions.java | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/res/values/strings.xml b/vlc-android/res/values/strings.xml
index 6be82e2dc..9b2d2f268 100644
--- a/vlc-android/res/values/strings.xml
+++ b/vlc-android/res/values/strings.xml
@@ -300,7 +300,7 @@
     <string name="video_min_group_length_first">First letter only</string>
     <string name="video_min_group_length_short">Short number of letters (6)</string>
     <string name="video_min_group_length_long">Long number of letters (9)</string>
-    <string name="media_fast_seek">Enable experimental fast seek option</string>
+    <string name="media_fast_seek">Enable fast seek option</string>
     <string name="media_seen">Show seen video marker</string>
     <string name="media_seen_summary">Mark a video as seen when you play it until the end</string>
     <string name="force_list_portrait">No grid in portrait mode</string>
diff --git a/vlc-android/res/xml/preferences_video.xml b/vlc-android/res/xml/preferences_video.xml
index 1445b44d0..319a9628a 100644
--- a/vlc-android/res/xml/preferences_video.xml
+++ b/vlc-android/res/xml/preferences_video.xml
@@ -35,7 +35,7 @@
         android:title="@string/save_audiodelay_title" />
 
     <CheckBoxPreference
-        android:defaultValue="false"
+        android:defaultValue="true"
         android:key="media_fast_seek"
         android:title="@string/media_fast_seek" />
 
diff --git a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
index c6b63762d..f12b6a38e 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.java
@@ -201,7 +201,7 @@ public class 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 (prefs.getBoolean("media_fast_seek", false)) media.addOption(":input-fast-seek");
+        if (prefs.getBoolean("media_fast_seek", true)) media.addOption(":input-fast-seek");
     }
 
     private static MediaPlayer.Equalizer getEqualizerSetFromSettings(SharedPreferences pref) {



More information about the Android mailing list