[vlc-commits] Lua: use the VLC wrapper to open files

Jean-Baptiste Kempf git at videolan.org
Tue Feb 10 14:55:11 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 10 14:54:01 2015 +0100| [d3985a2be5a4c77a4369ce5d7250cc6e57d21f39] | committer: Jean-Baptiste Kempf

Lua: use the VLC wrapper to open files

Ref #13752

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

 modules/lua/vlc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/lua/vlc.c b/modules/lua/vlc.c
index d6e0b40..091e493 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -668,7 +668,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj )
                 free( psz_filename );
                 goto error;
             }
-            if( luaL_dofile( L, psz_filename ) )
+            if( vlclua_dofile( VLC_OBJECT(probe), L, psz_filename ) )
             {
 
                 msg_Err( probe, "Error loading script %s: %s", psz_filename,



More information about the vlc-commits mailing list