vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | 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,

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to