Module: libav
Branch: master
Commit: 1077d8c8455b27688de37cd04f8cc253fb37944d

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Tue Dec  1 10:14:00 2015 +0200

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ö <[email protected]>

---

 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

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to