[Android] Set priority to SMBv1

Geoffrey Métais git at videolan.org
Tue Oct 29 15:24:37 CET 2019


vlc-android | branch: 3.2.x | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Oct 21 15:28:25 2019 +0200| [3fa28153b4dbc071676bc201b98cb4e20061d361] | committer: Geoffrey Métais

Set priority to SMBv1

(cherry picked from commit c4d3707b96b522513d71439a180e542a2e9046b3)

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

 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