]> git.sesse.net Git - vlc/commitdiff
Revert "lua extensions: open a URI, not a filepath"
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 10 Feb 2015 12:57:33 +0000 (13:57 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 10 Feb 2015 12:57:33 +0000 (13:57 +0100)
This reverts commit 916c380e2bf648968af243523a242ff83c048558.

Ref #13752

modules/lua/extension.c

index b047de08991e32d50b1c1c13c0528cba68057abd..5958af15e41f8db28068e1961317f0ed018203cf 100644 (file)
@@ -298,7 +298,7 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_filename,
     }
     else
     {
-        psz_script = vlc_path2uri( psz_filename, "file" );
+        psz_script = strdup( psz_filename );
         if( !psz_script )
             return 0;
     }