summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorThilo Borgmann <borgmann@nue170.nue.tu-berlin.de>2014-04-11 17:29:07 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-11 17:51:33 +0200
commitd2417061ef50dbe606692fa24031e3d68cc6292b (patch)
treeadee73cc6b00ca81997de45080b0318b40ac380a /configure
parentc02e3dca2d494f972cd96e0cf9c8117296c60952 (diff)
Add AVFoundation input device.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 507a0e9163..c962d415e4 100755
--- a/configure
+++ b/configure
@@ -2366,6 +2366,8 @@ xwma_demuxer_select="riffdec"
# indevs / outdevs
alsa_indev_deps="alsa_asoundlib_h snd_pcm_htimestamp"
alsa_outdev_deps="alsa_asoundlib_h"
+avfoundation_indev_extralibs="-framework AVFoundation -framework CoreMedia"
+avfoundation_indev_select="avfoundation"
bktr_indev_deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h"
caca_outdev_deps="libcaca"
decklink_outdev_deps="decklink pthreads"
@@ -4579,6 +4581,7 @@ for func in $MATH_FUNCS; do
done
# these are off by default, so fail if requested and not available
+enabled avfoundation_indev && { check_header_oc AVFoundation/AVFoundation.h || disable avfoundation_indev; }
enabled avisynth && { { check_lib2 "windows.h" LoadLibrary; } ||
{ check_lib2 "dlfcn.h" dlopen -ldl; } ||
die "ERROR: LoadLibrary/dlopen not found for avisynth"; }