diff options
author | Ricardo Constantino <wiiaboo@gmail.com> | 2017-05-04 17:09:38 +0100 |
---|---|---|
committer | Ricardo Constantino <wiiaboo@gmail.com> | 2017-05-04 17:09:38 +0100 |
commit | 2eab0c779ade015319a8e1848f3f006f962f4e01 (patch) | |
tree | ad30fb2af113e7ff30eeffed0457ea30a4c41f0d /player/lua.c | |
parent | 95d5fe1626d6998f31b3fca0754b97c9a913e8f5 (diff) | |
download | mpv-2eab0c779ade015319a8e1848f3f006f962f4e01.tar.bz2 mpv-2eab0c779ade015319a8e1848f3f006f962f4e01.tar.xz |
lua: increase subprocess stdout limit to 64MB
Diffstat (limited to 'player/lua.c')
-rw-r--r-- | player/lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/lua.c b/player/lua.c index 62f42baea1..35f07ef663 100644 --- a/player/lua.c +++ b/player/lua.c @@ -1154,7 +1154,7 @@ static int script_subprocess(lua_State *L) lua_pop(L, 1); // - lua_getfield(L, 1, "max_size"); // m - int64_t max_size = lua_isnil(L, -1) ? 16 * 1024 * 1024 : lua_tointeger(L, -1); + int64_t max_size = lua_isnil(L, -1) ? 64 * 1024 * 1024 : lua_tointeger(L, -1); struct subprocess_cb_ctx cb_ctx = { .log = ctx->log, |