[libav-devel] [PATCH] configure: Add -framework CoreVideo when building the avfoundation indev

Diego Biurrun diego at biurrun.de
Tue Dec 1 12:58:57 CET 2015


On Tue, Dec 01, 2015 at 10:15:30AM +0200, Martin Storsjö wrote:
> This fixes builds with --disable-vda, which previously failed with
> undefined references to CVImageBuffer* and CVPixelBuffer* functions.
> --- a/configure
> +++ b/configure
> @@ -4564,7 +4564,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

Probably OK.

Please drop the unnecessary \ at the end of the line while you're at it.

Diego


More information about the libav-devel mailing list