ffmpeg | branch: master | Lynne <d...@lynne.ee> | Mon Nov 18 15:05:36 2024 +0100| [66093c5b94495dfb6ba4fabe2d5e968c19367906] | committer: Lynne
ffv1enc_vulkan: restrict number of execution contexts to 1 This only leads to wasting memory in a single-threaded operation. Limit this to 1 for now and leave a comment. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=66093c5b94495dfb6ba4fabe2d5e968c19367906 --- libavcodec/ffv1enc_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c index 2f776307c1..7b2ddfb03d 100644 --- a/libavcodec/ffv1enc_vulkan.c +++ b/libavcodec/ffv1enc_vulkan.c @@ -1433,7 +1433,7 @@ static av_cold int vulkan_encode_ffv1_init(AVCodecContext *avctx) } err = ff_vk_exec_pool_init(&fv->s, &fv->qf, &fv->exec_pool, - fv->qf.nb_queues*4, + 1, /* Single-threaded for now */ 0, 0, 0, NULL); if (err < 0) return err; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".