vlc | branch: master | Lorenzo Pistone <[email protected]> | 
Sun Sep 18 12:28:34 2011 +0200| [7ffe01c7df0cca88e71b9079b961d05aee9b08de] | 
committer: Pierre Ynard

cue.lua: fix double URL encoding of directory name

Signed-off-by: Pierre Ynard <[email protected]>

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

 share/lua/playlist/cue.lua |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/lua/playlist/cue.lua b/share/lua/playlist/cue.lua
index b7f5078..57215e0 100644
--- a/share/lua/playlist/cue.lua
+++ b/share/lua/playlist/cue.lua
@@ -49,7 +49,7 @@ function cue_path( src )
                return src
        end
 
-       local path = string.gsub( vlc.path, '\\', '/' )
+       local path = string.gsub( vlc.strings.decode_uri(vlc.path), '\\', '/' )
        local slash = string.find( string.reverse( path ), '/' )
        if( path == nil ) then
                return src

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to