Commit 2989a5d8 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Revert "lua extensions: open a URI, not a filepath"

This reverts commit 916c380e2bf648968af243523a242ff83c048558.

Ref #13752

(cherry picked from commit a759cda54211efb37bfeed651a0725c8a5bd5248)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5a1cb5c1
...@@ -298,7 +298,7 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_filename, ...@@ -298,7 +298,7 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_filename,
} }
else else
{ {
psz_script = vlc_path2uri( psz_filename, "file" ); psz_script = strdup( psz_filename );
if( !psz_script ) if( !psz_script )
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment