aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2023-12-13 21:08:30 +0800
committerZhao Zhili <zhilizhao@tencent.com>2023-12-17 13:52:14 +0800
commiteddac2aed4f1753d8344e58cf9cab8e548f1714c (patch)
tree72fdafafd1b1b521ca045270ba1c0e8215e62ec5 /configure
parentb51d9eb58eae046b08ef0a967ab2d3e863047d74 (diff)
downloadffmpeg-eddac2aed4f1753d8344e58cf9cab8e548f1714c.tar.gz
configure: check VTPixelTransferSessionCreate for scale_vt
It's available on macOS since 10.8, but not available on iOS until 16.0. Reported and tested by xufuji456. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 7d2ee66000..8b99af223d 100755
--- a/configure
+++ b/configure
@@ -3836,7 +3836,7 @@ zmq_filter_deps="libzmq"
zoompan_filter_deps="swscale"
zscale_filter_deps="libzimg const_nan"
scale_vaapi_filter_deps="vaapi"
-scale_vt_filter_deps="videotoolbox"
+scale_vt_filter_deps="videotoolbox VTPixelTransferSessionCreate"
scale_vulkan_filter_deps="vulkan spirv_compiler"
vpp_qsv_filter_deps="libmfx"
vpp_qsv_filter_select="qsvvpp"
@@ -6501,6 +6501,7 @@ check_headers termios.h
check_headers unistd.h
check_headers valgrind/valgrind.h
check_func_headers VideoToolbox/VTCompressionSession.h VTCompressionSessionPrepareToEncodeFrames -framework VideoToolbox
+check_func_headers VideoToolbox/VideoToolbox.h VTPixelTransferSessionCreate -framework VideoToolbox
check_func_headers VideoToolbox/VideoToolbox.h VTPixelRotationSessionCreate -framework VideoToolbox
check_headers windows.h
check_headers asm/types.h