[FFmpeg-cvslog] configure: fix metal detection and respect explicit disable

Aman Karmani git at videolan.org
Sun Dec 19 18:29:45 EET 2021


ffmpeg | branch: master | Aman Karmani <aman at tmm1.net> | Sat Dec 18 21:34:10 2021 -0800| [11aa9ca153d4446887ff3ebd26e5a3c243a19d80] | committer: Aman Karmani

configure: fix metal detection and respect explicit disable

Signed-off-by: Aman Karmani <aman at tmm1.net>

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

 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index d8b07c8e00..d9d41b2273 100755
--- a/configure
+++ b/configure
@@ -1758,6 +1758,7 @@ EXTERNAL_AUTODETECT_LIBRARY_LIST="
     libxcb_xfixes
     lzma
     mediafoundation
+    metal
     schannel
     sdl2
     securetransport
@@ -6328,13 +6329,13 @@ enabled appkit       && check_apple_framework AppKit
 enabled audiotoolbox && check_apple_framework AudioToolbox
 enabled avfoundation && check_apple_framework AVFoundation
 enabled coreimage    && check_apple_framework CoreImage
+enabled metal        && check_apple_framework Metal
 enabled videotoolbox && check_apple_framework VideoToolbox
 
 check_apple_framework CoreFoundation
 check_apple_framework CoreMedia
 check_apple_framework CoreVideo
 check_apple_framework CoreAudio
-check_apple_framework Metal
 
 enabled avfoundation && {
     disable coregraphics applicationservices



More information about the ffmpeg-cvslog mailing list