[FFmpeg-cvslog] hwcontext_vulkan: don't add the optional VK_KHR_surface extension by default

Lynne git at videolan.org
Tue May 12 23:34:19 EEST 2020


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Tue May 12 20:40:29 2020 +0100| [4b7e13931f38d2a23845f4768ba6b80f6721a173] | committer: Lynne

hwcontext_vulkan: don't add the optional VK_KHR_surface extension by default

Both API and CLI users can enable any extension they'd like using the options.

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

 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 e3df428049..8f3f3fdd2a 100644
--- a/libavutil/hwcontext_vulkan.c
+++ b/libavutil/hwcontext_vulkan.c
@@ -194,7 +194,7 @@ typedef struct VulkanOptExtension {
 } VulkanOptExtension;
 
 static const VulkanOptExtension optional_instance_exts[] = {
-    { VK_KHR_SURFACE_EXTENSION_NAME, EXT_NO_FLAG },
+    /* For future use */
 };
 
 static const VulkanOptExtension optional_device_exts[] = {



More information about the ffmpeg-cvslog mailing list