[FFmpeg-cvslog] configure: Add -framework CoreVideo when building the avfoundation indev

Martin Storsjö git at videolan.org
Tue Dec 8 09:51:00 CET 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Tue Dec  1 10:14:00 2015 +0200| [1077d8c8455b27688de37cd04f8cc253fb37944d] | committer: Martin Storsjö

configure: Add -framework CoreVideo when building the avfoundation indev

This fixes builds with --disable-vda, which previously failed with
undefined references to CVImageBuffer* and CVPixelBuffer* functions.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1077d8c8455b27688de37cd04f8cc253fb37944d
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 615a648..30db632 100755
--- a/configure
+++ b/configure
@@ -4568,7 +4568,7 @@ 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 || \
+    add_extralibs -framework Foundation -framework AVFoundation -framework CoreVideo -framework CoreMedia ||
     disable AVFoundation_AVFoundation_h
 
 check_header sys/videoio.h



More information about the ffmpeg-cvslog mailing list