From 4f979418c723652ad4e43115118c57a44bd46b52 Mon Sep 17 00:00:00 2001 From: Alexandre Lision Date: Mon, 23 Nov 2015 17:08:50 -0500 Subject: avfoundation: Simple capture Originally based on the capture written by Thilo Borgmann . Signed-off-by: Luca Barbato --- configure | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'configure') diff --git a/configure b/configure index 4ad9a2bc0e..16ad102ff4 100755 --- a/configure +++ b/configure @@ -1453,6 +1453,7 @@ HAVE_LIST_PUB=" " HEADERS_LIST=" + AVFoundation_AVFoundation_h alsa_asoundlib_h altivec_h arpa_inet_h @@ -2264,6 +2265,7 @@ xwma_demuxer_select="riffdec" # indevs / outdevs alsa_indev_deps="alsa_asoundlib_h snd_pcm_htimestamp" alsa_outdev_deps="alsa_asoundlib_h" +avfoundation_indev_deps="AVFoundation_AVFoundation_h" bktr_indev_deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h" dv1394_indev_deps="dv1394" dv1394_indev_select="dv_demuxer" @@ -4560,6 +4562,11 @@ check_header linux/fb.h check_header linux/videodev2.h 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 || \ + disable AVFoundation_AVFoundation_h + check_header sys/videoio.h check_func_headers "windows.h vfw.h" capCreateCaptureWindow "$vfwcap_indev_extralibs" -- cgit v1.2.3