From 547fd2a2299342a6ede3a09cf678b6f9932a0450 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 29 Jan 2015 19:57:40 +0100 Subject: vf_vapoursynth: load Lua stdlib in Lua mode If you can call this a "stdlib". --- video/filter/vf_vapoursynth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index afa148fba8..a4927216bb 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -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) { -- cgit v1.2.3