mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-17 23:17:41 +08:00
configure: Check for an actual function in VideoToolbox
This makes sure to disable VideoToolbox if building with an SDK that does contain VideoToolbox, but targeting an older version of the OS where it is unavailable. Previously, we would enable VideoToolbox as long as the framework itself was found, which only require the framework to exist in the SDK. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
3
configure
vendored
3
configure
vendored
@ -3626,7 +3626,7 @@ libxvid_encoder_deps="libxvid"
|
||||
libzvbi_teletext_decoder_deps="libzvbi"
|
||||
vapoursynth_demuxer_deps="vapoursynth"
|
||||
videotoolbox_suggest="coreservices"
|
||||
videotoolbox_deps="corefoundation coremedia corevideo"
|
||||
videotoolbox_deps="corefoundation coremedia corevideo VTDecompressionSessionDecodeFrame"
|
||||
videotoolbox_encoder_deps="videotoolbox VTCompressionSessionPrepareToEncodeFrames"
|
||||
|
||||
# demuxers / muxers
|
||||
@ -6687,6 +6687,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 VTDecompressionSessionDecodeFrame -framework VideoToolbox
|
||||
check_func_headers VideoToolbox/VideoToolbox.h VTPixelTransferSessionCreate -framework VideoToolbox
|
||||
check_func_headers VideoToolbox/VideoToolbox.h VTPixelRotationSessionCreate -framework VideoToolbox
|
||||
check_headers windows.h
|
||||
|
Reference in New Issue
Block a user