[Android] Revert "VLCOptions: decrease prefetch read size"

Thomas Guillem git at videolan.org
Mon Feb 10 11:10:02 CET 2020


vlc-android | branch: 3.2.x | Thomas Guillem <thomas at gllm.fr> | Mon Feb 10 10:29:31 2020 +0100| [bf255aa52c79c35318d8bfb791e33be4c0d0fc60] | committer: Thomas Guillem

Revert "VLCOptions: decrease prefetch read size"

Not needed since c56a186227b7d181290cfcdaa2ed0ceb1a1ae460.

This reverts commit df1d69a4d149e3abf22919cc2adbbec0bf0de290.

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

 vlc-android/src/org/videolan/vlc/util/VLCOptions.kt | 2 --
 1 file changed, 2 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt b/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt
index dbcf7386c..6d471613f 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt
@@ -140,8 +140,6 @@ object VLCOptions {
                 if (!optionsArray.isNullOrEmpty()) Collections.addAll(options, *optionsArray)
             }
             options.add("--smb-force-v1")
-            // decrease the read size of the prefetch module. This fixes smb2 slowness.
-            options.add("--prefetch-read-size=16384")
             return options
         }
 



More information about the Android mailing list