[vlc-devel] [PATCH] Fix bug with VLSub '401 Unauthorized' error

Pierre Ynard linkfanel at yahoo.fr
Mon Aug 17 20:34:18 CEST 2020


Hello Alon,

Indeed this issue you bring up was already taken care of in 3.0:

https://git.videolan.org/?p=vlc/vlc-3.0.git;a=commitdiff;h=779b95f68dbb484da7c77b816fc90c87a11d5646

but apparently not in master. Any reason why not?

I gave a quick look and conversely,

https://git.videolan.org/?p=vlc.git;a=commitdiff;h=583dded749fb3078a8cad495efcd5f4bcef0a875

was pushed to master but not backported to 3.0. Don't we want to
backport it?

> ---
>  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..85c14f09d0 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)

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list