[vlc-commits] Revert "lua extensions: open a URI, not a filepath"

Jean-Baptiste Kempf git at videolan.org
Tue Feb 10 15:21:04 CET 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 10 13:57:33 2015 +0100| [2989a5d83285766a0b47d41915a2f2b0b018e365] | committer: 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: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=2989a5d83285766a0b47d41915a2f2b0b018e365
---

 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 b047de0..5958af1 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 = vlc_path2uri( psz_filename, "file" );
+        psz_script = strdup( psz_filename );
         if( !psz_script )
             return 0;
     }



More information about the vlc-commits mailing list