diff mbox series

[FFmpeg-devel] configure: check VTPixelTransferSessionCreate for scale_vt

Message ID tencent_E5552EA772B8C7967ECD0920474DACCFC107@qq.com
State Accepted
Commit eddac2aed4f1753d8344e58cf9cab8e548f1714c
Headers show
Series [FFmpeg-devel] configure: check VTPixelTransferSessionCreate for scale_vt | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Zhao Zhili Dec. 13, 2023, 1:08 p.m. UTC
From: Zhao Zhili <zhilizhao@tencent.com>

It's available on macOS since 10.8, but not available on iOS until
16.0.
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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