summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-29 19:57:40 +0100
committerwm4 <wm4@nowhere>2015-01-29 19:57:40 +0100
commit547fd2a2299342a6ede3a09cf678b6f9932a0450 (patch)
tree97936883acf658d961c515e90e83a96a60a20b73
parentc80a1b7aa9936802e64189f9474847fd3fe57e8d (diff)
downloadmpv-547fd2a2299342a6ede3a09cf678b6f9932a0450.tar.bz2
mpv-547fd2a2299342a6ede3a09cf678b6f9932a0450.tar.xz
vf_vapoursynth: load Lua stdlib in Lua mode
If you can call this a "stdlib".
-rw-r--r--video/filter/vf_vapoursynth.c1
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) {