summaryrefslogtreecommitdiffstats
path: root/player/screenshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/screenshot.c')
-rw-r--r--player/screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/screenshot.c b/player/screenshot.c
index d0e5777a65..6b5e50ced3 100644
--- a/player/screenshot.c
+++ b/player/screenshot.c
@@ -148,7 +148,7 @@ static void write_screenshot(struct MPContext *mpctx, struct mp_image *img,
if (async) {
if (!ctx->thread_pool)
- ctx->thread_pool = mp_thread_pool_create(ctx, 1);
+ ctx->thread_pool = mp_thread_pool_create(ctx, 1, 1, 3);
if (ctx->thread_pool) {
item->on_thread = true;
mpctx->outstanding_async += 1;