PR #22752 opened by James Almer (jamrial)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22752
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22752.patch

Given it's autodetected by default, its checks should not print warnings nor 
abort the process.


>From 4c69c5f156ef3945b784977d1c5b3c6c334d64a0 Mon Sep 17 00:00:00 2001
From: James Almer <[email protected]>
Date: Wed, 8 Apr 2026 12:29:28 -0300
Subject: [PATCH] configure: only warn about spirv-headers if vulkan was
 explicitly requested

Given it's autodected by default, its checks should not print warnings nor 
abort the process.

Signed-off-by: James Almer <[email protected]>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index ff5f7935cd..041b4bd49f 100755
--- a/configure
+++ b/configure
@@ -7866,7 +7866,7 @@ fi
 if enabled vulkan; then
     check_headers spirv-headers/spirv.h ||
     check_headers spirv/unified1/spirv.h ||
-    warn "spirv-headers not found, swscale SPIR-V backend unavailable"
+    { requested vulkan && warn "spirv-headers not found, swscale SPIR-V 
backend unavailable"; }
 fi
 
 if enabled x86; then
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to