vulkan_decode: fix counting for parallelism
ff_vk_exec_pool_init used to multiply the number by the number of queues, but that got changed, yet this use of the function was not updated.
This commit is contained in:
parent
78c4d6c136
commit
a5e6860a89
1 changed files with 1 additions and 1 deletions
|
|
@ -1159,7 +1159,7 @@ int ff_vk_decode_init(AVCodecContext *avctx)
|
|||
/* Create decode exec context for this specific main thread.
|
||||
* 2 async contexts per thread was experimentally determined to be optimal
|
||||
* for a majority of streams. */
|
||||
err = ff_vk_exec_pool_init(s, &ctx->qf, &dec->exec_pool, 2,
|
||||
err = ff_vk_exec_pool_init(s, &ctx->qf, &dec->exec_pool, 2*ctx->qf.nb_queues,
|
||||
nb_q, VK_QUERY_TYPE_RESULT_STATUS_ONLY_KHR, 0,
|
||||
profile);
|
||||
if (err < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue