[vlc-commits] lua extensions: open a URI, not a filepath
Jean-Baptiste Kempf
git at videolan.org
Wed Jan 28 00:49:16 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jan 28 00:48:00 2015 +0100| [916c380e2bf648968af243523a242ff83c048558] | committer: Jean-Baptiste Kempf
lua extensions: open a URI, not a filepath
Close #13752
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=916c380e2bf648968af243523a242ff83c048558
---
modules/lua/extension.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/lua/extension.c b/modules/lua/extension.c
index 5958af1..b047de0 100644
--- a/modules/lua/extension.c
+++ b/modules/lua/extension.c
@@ -298,7 +298,7 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_filename,
}
else
{
- psz_script = strdup( psz_filename );
+ psz_script = vlc_path2uri( psz_filename, "file" );
if( !psz_script )
return 0;
}
More information about the vlc-commits
mailing list