Commit: 75c688a3bc1d27d92d27481fea70d9c49ec61517 Parent: 31a39df64d03048012f5bc414179e3c24c59b590 Author: Ren Tatsumoto Date: Mon, 21 Dec 2020 12:42:38 +0300 fix #16 Diffstat:
M | subs2srs.lua | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/subs2srs.lua b/subs2srs.lua @@ -547,7 +547,8 @@ end -- seeking: sub seek, sub rewind local function _(params) - return function() return pcall(table.unpack(params)) end + local unpack = unpack and unpack or table.unpack + return function() return pcall(unpack(params)) end end local function sub_seek(direction, pause)