[FFmpeg-cvslog] configure: autodetect vulkan

Lynne git at videolan.org
Tue Dec 21 13:30:23 EET 2021


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Mon Dec 20 11:04:49 2021 +0100| [fa2e460f635d6cc32d5eb2d4c61a12caba59810c] | committer: Lynne

configure: autodetect vulkan

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

 configure | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure b/configure
index d9d41b2273..05ac32b825 100755
--- a/configure
+++ b/configure
@@ -324,7 +324,7 @@ External library support:
   --disable-securetransport disable Secure Transport, needed for TLS support
                            on OSX if openssl and gnutls are not used [autodetect]
   --enable-vapoursynth     enable VapourSynth demuxer [no]
-  --enable-vulkan          enable Vulkan code [no]
+  --disable-vulkan         disable Vulkan code [autodetect]
   --disable-xlib           disable xlib [autodetect]
   --disable-zlib           disable zlib [autodetect]
 
@@ -1897,6 +1897,7 @@ HWACCEL_AUTODETECT_LIBRARY_LIST="
     vaapi
     vdpau
     videotoolbox
+    vulkan
     v4l2_m2m
     xvmc
 "
@@ -1919,7 +1920,6 @@ HWACCEL_LIBRARY_LIST="
     mmal
     omx
     opencl
-    vulkan
 "
 
 DOCUMENT_LIST="
@@ -6915,7 +6915,7 @@ enabled crystalhd && check_lib crystalhd "stdint.h libcrystalhd/libcrystalhd_if.
 
 if enabled vulkan; then
     check_pkg_config_header_only vulkan "vulkan >= 1.2.189" "vulkan/vulkan.h" "defined VK_VERSION_1_2" ||
-        require_cpp_condition vulkan "vulkan/vulkan.h" "defined VK_VERSION_1_2"
+        check_cpp_condition vulkan "vulkan/vulkan.h" "defined VK_VERSION_1_2"
 fi
 
 if enabled x86; then



More information about the ffmpeg-cvslog mailing list