Am 04.02.15 um 13:48 schrieb Thilo Borgmann: > [PATCH] configure: Check linking against CoreGraphics or > ApplicationServices framework for avfoundation input device. > > Fixes ticket #4238.
Updated patch without blank line. -Thilo
>From 921f571d601fe51d21ec29320a157dc4e0ba72ed Mon Sep 17 00:00:00 2001 From: Thilo Borgmann <thilo.borgm...@mail.de> Date: Wed, 4 Feb 2015 13:52:20 +0100 Subject: [PATCH] configure: Check linking against CoreGraphics or ApplicationServices framework for avfoundation input device. Fixes ticket #4238. --- configure | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 6d56f59..4a2e7d2 100755 --- a/configure +++ b/configure @@ -2483,7 +2483,7 @@ 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 CoreVideo -framework Foundation -framework AVFoundation -framework CoreMedia -framework CoreGraphics" +avfoundation_indev_extralibs="-framework CoreVideo -framework Foundation -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" @@ -4868,7 +4868,10 @@ 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 avfoundation_indev && check_header_oc AVFoundation/AVFoundation.h && + { check_lib2 CoreGraphics/CoreGraphics.h CGImageGetTypeID -Wl,-framework,CoreGraphics || + check_lib2 ApplicationServices/ApplicationServices.h CGImageGetTypeID -Wl,-framework,ApplicationServices || + disable avfoundation_indev; } enabled avisynth && { { check_lib2 "windows.h" LoadLibrary; } || { check_lib2 "dlfcn.h" dlopen -ldl; } || die "ERROR: LoadLibrary/dlopen not found for avisynth"; } -- 1.9.3 (Apple Git-50)
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel