[vlc-commits] VLSub: Add sub is already provided with a path

Hugo Beauzée-Luyssen git at videolan.org
Thu Sep 21 17:49:32 CEST 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Wed Sep 20 17:44:28 2017 +0200| [7d7f76654eb9bde06bae44395515aae31f555a95] | committer: Hugo Beauzée-Luyssen

VLSub: Add sub is already provided with a path

No need to convert it to one

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

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

diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index 9111a6be4c..1ab7a90b0e 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1795,7 +1795,6 @@ end
 
 function add_sub(subPath)
   if vlc.item or vlc.input.item() then
-    subPath = decode_uri(subPath)
     vlc.msg.dbg("[VLsub] Adding subtitle :" .. subPath)
     return vlc.input.add_subtitle(subPath)
   end



More information about the vlc-commits mailing list