Commit a759cda5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

This reverts commit 916c380e.

Ref #13752
parent bf7ad95b
...@@ -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