diff options
author | wm4 <wm4@nowhere> | 2015-01-29 19:57:40 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-29 19:57:40 +0100 |
commit | 547fd2a2299342a6ede3a09cf678b6f9932a0450 (patch) | |
tree | 97936883acf658d961c515e90e83a96a60a20b73 /video | |
parent | c80a1b7aa9936802e64189f9474847fd3fe57e8d (diff) |
vf_vapoursynth: load Lua stdlib in Lua mode
If you can call this a "stdlib".
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_vapoursynth.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |