[vlc-commits] Revert "VLSub: Reorder LogIn parameters"

Hugo Beauzée-Luyssen git at videolan.org
Mon Aug 24 23:46:01 CEST 2020


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Apr 21 11:15:38 2020 +0200| [c18a89666343cf57aac0f64b6cb6bacfbb78db21] | committer: Pierre Ynard

Revert "VLSub: Reorder LogIn parameters"

This reverts commit 64b59282a6fdc8afe5d17086a5abbf8906d8e8e9.
This was working by accident, the language was interpreted as
user-agent and was accepted, only when english was used.

(cherry picked from commit 779b95f68dbb484da7c77b816fc90c87a11d5646)
Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c18a89666343cf57aac0f64b6cb6bacfbb78db21
---

 share/lua/extensions/VLSub.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index 2edc73ecdc..871a112b47 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1113,8 +1113,8 @@ openSub = {
         return {
           { value={ string=openSub.option.os_username } },
           { value={ string=openSub.option.os_password } },
-          { value={ string=openSub.conf.useragent } },
           { value={ string=openSub.movie.sublanguageid } },
+          { value={ string=openSub.conf.useragent } }
         }
       end,
       callback = function(resp)



More information about the vlc-commits mailing list