[FFmpeg-cvslog] hwcontext_vulkan: fix 85c0364b703
Lynne
git at videolan.org
Tue Jun 24 10:42:58 EEST 2025
ffmpeg | branch: master | Lynne <dev at lynne.ee> | Tue Jun 24 16:41:48 2025 +0900| [60fc0288ae39c3294091c2a4e06816836be95740] | committer: Lynne
hwcontext_vulkan: fix 85c0364b703
The issue is that by moving the mprops loading later, we inadvertently
broke some earlier dependencies.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=60fc0288ae39c3294091c2a4e06816836be95740
---
libavutil/hwcontext_vulkan.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index c8c6eed0fd..547fbe184f 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -1720,6 +1720,9 @@ static int vulkan_device_create_internal(AVHWDeviceContext *ctx,
goto end;
}
+ /* Get supported memory types */
+ vk->GetPhysicalDeviceMemoryProperties(hwctx->phys_dev, &p->mprops);
+
/* Get all supported features for the physical device */
device_features_init(ctx, &supported_feats);
vk->GetPhysicalDeviceFeatures2(hwctx->phys_dev, &supported_feats.device);
More information about the ffmpeg-cvslog
mailing list