1
0
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:
wm4 2015-01-29 19:57:40 +01:00
parent c80a1b7aa9
commit 547fd2a229

View File

@ -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) {