diff options
author | wm4 <wm4@nowhere> | 2015-01-03 14:44:20 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-01-25 17:00:18 +0900 |
commit | f4634e404f68605572695c3a54b9372835fc4190 (patch) | |
tree | 31dd9968548e4cbe6baaf5c5576ee821fd075c1d /video | |
parent | dbc00297cc36e8470ff9996111077a72ab8a4a5f (diff) | |
download | mpv-f4634e404f68605572695c3a54b9372835fc4190.tar.bz2 mpv-f4634e404f68605572695c3a54b9372835fc4190.tar.xz |
vf_vapoursynth: fix Lua backend
It couldn't handle the newly added float variable.
Diffstat (limited to 'video')
-rw-r--r-- | video/filter/vf_vapoursynth.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index 4b06d28b76..178ebb2bc1 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -867,6 +867,9 @@ static void vsmap_to_table(lua_State *L, int index, VSMap *map) case ptInt: lua_pushnumber(L, vsapi->propGetInt(map, key, 0, NULL)); break; + case ptFloat: + lua_pushnumber(L, vsapi->propGetFloat(map, key, 0, NULL)); + break; case ptNode: { VSNodeRef *r = vsapi->propGetNode(map, key, 0, NULL); MP_TARRAY_APPEND(p, p->gc_noderef, p->num_gc_noderef, r); |