[FFmpeg-cvslog] hwcontext_vulkan: allow using concurrent access images with more than 5 queues

Lynne git at videolan.org
Mon Mar 17 09:51:57 EET 2025


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Fri Mar 14 17:53:02 2025 +0000| [3c09aadcf47a1cbb990c48cac1c4bea9bf0593cf] | committer: Lynne

hwcontext_vulkan: allow using concurrent access images with more than 5 queues

This limit was not bumped when the queue family rewrite happened.

Fixes validation issues on nvidia.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3c09aadcf47a1cbb990c48cac1c4bea9bf0593cf
---

 libavutil/hwcontext_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 46457f8fcb..f7df5503f8 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -121,7 +121,7 @@ typedef struct VulkanDevicePriv {
     /* Queues */
     pthread_mutex_t **qf_mutex;
     uint32_t nb_tot_qfs;
-    uint32_t img_qfs[5];
+    uint32_t img_qfs[64];
     uint32_t nb_img_qfs;
 
     /* Debug callback */



More information about the ffmpeg-cvslog mailing list