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>
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