[FFmpeg-cvslog] hwcontext_vulkan: do not enable portability subset by default

Lynne git at videolan.org
Sun Dec 22 21:25:50 EET 2024


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Wed Dec 18 13:14:27 2024 +0900| [18af3a1db2db07cd24d611cc9cdc86fcdec4b505] | committer: Lynne

hwcontext_vulkan: do not enable portability subset by default

It doesn't make sense to, and could result in the implementation
picking emulation layers.

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

 libavutil/hwcontext_vulkan.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index e379642cd3..5601ef4d9e 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -573,7 +573,9 @@ typedef struct VulkanOptExtension {
 } VulkanOptExtension;
 
 static const VulkanOptExtension optional_instance_exts[] = {
+#ifdef __APPLE__
     { VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME,          FF_VK_EXT_NO_FLAG                },
+#endif
 };
 
 static const VulkanOptExtension optional_device_exts[] = {



More information about the ffmpeg-cvslog mailing list