This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 6c5dc2011b3af96d216d07a5be9356c4889f8172
Author:     Lynne <[email protected]>
AuthorDate: Thu Feb 26 11:48:13 2026 +0100
Commit:     Lynne <[email protected]>
CommitDate: Thu Feb 26 14:10:19 2026 +0100

    vulkan: reset exec context when uninitializing
    
    Sponsored-by: Sovereign Tech Fund
---
 libavutil/vulkan.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/vulkan.c b/libavutil/vulkan.c
index 5264abd7ad..f3cee62b55 100644
--- a/libavutil/vulkan.c
+++ b/libavutil/vulkan.c
@@ -334,6 +334,7 @@ void ff_vk_exec_pool_free(FFVulkanContext *s, FFVkExecPool 
*pool)
 
         av_freep(&sd->desc_sets);
     }
+    pool->nb_reg_shd = 0;
 
     for (int i = 0; i < pool->pool_size; i++) {
         if (pool->cmd_buf_pools[i])
@@ -350,6 +351,7 @@ void ff_vk_exec_pool_free(FFVulkanContext *s, FFVkExecPool 
*pool)
     av_free(pool->cmd_buf_pools);
     av_free(pool->cmd_bufs);
     av_free(pool->contexts);
+    pool->pool_size = 0;
 }
 
 int ff_vk_exec_pool_init(FFVulkanContext *s, AVVulkanDeviceQueueFamily *qf,

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to