[Android] Set priority to SMBv1

Geoffrey Métais git at videolan.org
Thu Oct 24 00:42:43 CEST 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Oct 21 15:28:25 2019 +0200| [c4d3707b96b522513d71439a180e542a2e9046b3] | committer: Jean-Baptiste Kempf

Set priority to SMBv1

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

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

diff --git a/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt b/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt
index 3ae6968e6..6d471613f 100644
--- a/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt
+++ b/vlc-android/src/org/videolan/vlc/util/VLCOptions.kt
@@ -139,6 +139,7 @@ object VLCOptions {
                 val optionsArray = customOptions!!.split("\\r?\\n".toRegex()).toTypedArray()
                 if (!optionsArray.isNullOrEmpty()) Collections.addAll(options, *optionsArray)
             }
+            options.add("--smb-force-v1")
             return options
         }
 



More information about the Android mailing list