Commit 70c1a68d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

lua extensions: open a URI, not a filepath

Close #13752

(cherry picked from commit 916c380e2bf648968af243523a242ff83c048558)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0b188965
......@@ -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;
}
......
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