[vlc-commits] Lua: use the VLC wrapper to open files
Jean-Baptiste Kempf
git at videolan.org
Tue Feb 10 15:21:05 CET 2015
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Feb 10 14:54:01 2015 +0100| [d3135a1f7ba9c2152fac8e7a30367035e1c791d0] | committer: Jean-Baptiste Kempf
Lua: use the VLC wrapper to open files
Ref #13752
(cherry picked from commit d3985a2be5a4c77a4369ce5d7250cc6e57d21f39)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=d3135a1f7ba9c2152fac8e7a30367035e1c791d0
---
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 df235d0..aa0e361 100644
--- a/modules/lua/vlc.c
+++ b/modules/lua/vlc.c
@@ -669,7 +669,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