This only leads to wasting memory in a single-threaded operation. Limit this to 1 for now and leave a comment.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -1433,7 +1433,7 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) · 1432 unmodified lines | ||
| 1433 | 1433 | } |
| 1434 | 1434 | |
| 1435 | 1435 | err = ff_vk_exec_pool_init(&fv->s, &fv->qf, &fv->exec_pool, |
| 1436 | − fv->qf.nb_queues*4, | |
| 1436 | + 1, /* Single-threaded for now */ | |
| 1437 | 1437 | 0, 0, 0, NULL); |
| 1438 | 1438 | if (err < 0) |
| 1439 | 1439 | return err; |