mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 07:31:48 +00:00
vf_vapoursynth: load Lua stdlib in Lua mode
If you can call this a "stdlib".
This commit is contained in:
parent
c80a1b7aa9
commit
547fd2a229
@ -829,6 +829,7 @@ static int drv_lazy_init(struct vf_instance *vf)
|
||||
p->ls = luaL_newstate();
|
||||
if (!p->ls)
|
||||
return -1;
|
||||
luaL_openlibs(p->ls);
|
||||
p->vsapi = getVapourSynthAPI(VAPOURSYNTH_API_VERSION);
|
||||
p->vscore = p->vsapi ? p->vsapi->createCore(0) : NULL;
|
||||
if (!p->vscore) {
|
||||
|
Loading…
Reference in New Issue
Block a user