aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vulkan_encode.h
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-12-03 15:31:49 +0900
committerLynne <dev@lynne.ee>2024-12-23 04:25:09 +0900
commit2e06b84e2747ef4ea4d9f5c20c936aa866f7647d (patch)
treeba037209826667bf2eb78796b180b673e40b36dc /libavcodec/vulkan_encode.h
parent157cd820adbbfcfd1870a6ce12d072dc0f623e9b (diff)
downloadffmpeg-2e06b84e2747ef4ea4d9f5c20c936aa866f7647d.tar.gz
vulkan: do not reinvent a queue context struct
We recently introduced a public field which was a superset of the queue context we used to have. Switch to using it entirely. This also allows us to get rid of the NIH function which was valid only for video queues.
Diffstat (limited to 'libavcodec/vulkan_encode.h')
-rw-r--r--libavcodec/vulkan_encode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vulkan_encode.h b/libavcodec/vulkan_encode.h
index a7a02d5fd0..3df06e11d0 100644
--- a/libavcodec/vulkan_encode.h
+++ b/libavcodec/vulkan_encode.h
@@ -188,7 +188,7 @@ typedef struct FFVulkanEncodeContext {
VkVideoEncodeCapabilitiesKHR enc_caps;
VkVideoEncodeUsageInfoKHR usage_info;
- FFVkQueueFamilyCtx qf_enc;
+ AVVulkanDeviceQueueFamily *qf_enc;
FFVkExecPool enc_pool;
FFHWBaseEncodePicture *slots[32];