提交 f06c0dd7 编写于 作者: C Colin Edwards 提交者: jp9000

deps/obs-scripting: Ensure that ffi module gets loaded

Closes jp9000/obs-studio#1158
上级 303ba1df
......@@ -94,6 +94,7 @@ static bool load_lua_script(struct obs_lua_script *data)
pthread_mutex_lock(&data->mutex);
luaL_openlibs(script);
luaopen_ffi(script);
if (luaL_dostring(script, startup_script) != 0) {
script_warn(&data->base, "Error executing startup script 1: %s",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册