mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 23:32:33 +00:00
configure: Add -framework CoreVideo when building the avfoundation indev
This fixes builds with --disable-vda, which previously failed with undefined references to CVImageBuffer* and CVPixelBuffer* functions. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
bf12a81cc6
commit
1077d8c845
2
configure
vendored
2
configure
vendored
@ -4568,7 +4568,7 @@ check_struct linux/videodev2.h "struct v4l2_frmivalenum" discrete
|
||||
|
||||
check_header AVFoundation/AVFoundation.h &&
|
||||
check_objcflags -fobjc-arc &&
|
||||
add_extralibs -framework Foundation -framework AVFoundation -framework CoreMedia || \
|
||||
add_extralibs -framework Foundation -framework AVFoundation -framework CoreVideo -framework CoreMedia ||
|
||||
disable AVFoundation_AVFoundation_h
|
||||
|
||||
check_header sys/videoio.h
|
||||
|
Loading…
Reference in New Issue
Block a user