diff options
author | Alexandre Lision <alexandre.lision@savoirfairelinux.com> | 2015-11-23 17:08:50 -0500 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2015-11-26 10:55:28 +0100 |
commit | 4f979418c723652ad4e43115118c57a44bd46b52 (patch) | |
tree | 7d38fc9b6d9a07efa94ea74fcfae5c4ccb21bd0a /configure | |
parent | 9f57f134c19773d54269b6cb9ee455ff87c2e9e1 (diff) | |
download | ffmpeg-4f979418c723652ad4e43115118c57a44bd46b52.tar.gz |
avfoundation: Simple capture
Originally based on the capture written by
Thilo Borgmann <thilo.borgmann@mail.de>.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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" |