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

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


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Feb 10 10:26:16 2020 +0100| [f3792771b101003fbe986c9871a867a853c7476e] | committer: Thomas Guillem

Revert "VLCOptions: decrease prefetch read size"

Not needed since 4aaec506ae039038d514c208e6ac5af3aff67c34.

This reverts commit 61af88a43299b76636151e57cef65281bd9a6668.

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

 .../resources/src/main/java/org/videolan/resources/VLCOptions.kt        | 2 --
 1 file changed, 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 aa304f685..9cc48d384 100644
--- a/application/resources/src/main/java/org/videolan/resources/VLCOptions.kt
+++ b/application/resources/src/main/java/org/videolan/resources/VLCOptions.kt
@@ -139,8 +139,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