[vlc-commits] VLSub: Properly convert subtitle archive path to MRL
Hugo Beauzée-Luyssen
git at videolan.org
Thu Apr 12 13:01:07 CEST 2018
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Apr 3 18:32:28 2018 +0200| [96a21cada69e91a0f0a8c2f8bb39bf27f865951f] | committer: Hugo Beauzée-Luyssen
VLSub: Properly convert subtitle archive path to MRL
(cherry picked from commit a67d761528176d0b7499ef1066dcd6bf50050bbe)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=96a21cada69e91a0f0a8c2f8bb39bf27f865951f
---
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 2f7b4091a2..e0370bedd4 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1663,7 +1663,7 @@ function get_first_sel(list)
end
function find_subtitle_in_archive(archivePath, subfileExt)
- local archive = vlc.directory_stream("file://" .. archivePath)
+ local archive = vlc.directory_stream(vlc.strings.make_uri(archivePath))
local items = archive:readdir()
if not items then
return nil
More information about the vlc-commits
mailing list