Commit f8519529 authored by Clément Bœsch's avatar Clément Bœsch Committed by Clément Bœsch

lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImage

What is required by the filter is CoreImage, there is no QuartzCore
usage. QuartzCore/CoreImage.h is simply an include to
CoreImage/CoreImage.h.
parent b476e772
...@@ -5591,8 +5591,8 @@ frei0r_filter_extralibs='$ldl' ...@@ -5591,8 +5591,8 @@ frei0r_filter_extralibs='$ldl'
frei0r_src_filter_extralibs='$ldl' frei0r_src_filter_extralibs='$ldl'
ladspa_filter_extralibs='$ldl' ladspa_filter_extralibs='$ldl'
nvenc_extralibs='$ldl' nvenc_extralibs='$ldl'
coreimage_filter_extralibs="-framework QuartzCore -framework AppKit -framework OpenGL" coreimage_filter_extralibs="-framework CoreImage -framework AppKit -framework OpenGL"
coreimagesrc_filter_extralibs="-framework QuartzCore -framework AppKit -framework OpenGL" coreimagesrc_filter_extralibs="-framework CoreImage -framework AppKit -framework OpenGL"
if ! disabled network; then if ! disabled network; then
check_func getaddrinfo $network_extralibs check_func getaddrinfo $network_extralibs
...@@ -5840,8 +5840,8 @@ enabled cuda_sdk && require cuda_sdk cuda.h cuCtxCreate -lcuda ...@@ -5840,8 +5840,8 @@ enabled cuda_sdk && require cuda_sdk cuda.h cuCtxCreate -lcuda
enabled cuvid && { enabled cuda || enabled cuvid && { enabled cuda ||
die "ERROR: CUVID requires CUDA"; } die "ERROR: CUVID requires CUDA"; }
enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint
enabled coreimage_filter && { check_header_objcc QuartzCore/CoreImage.h || disable coreimage_filter; } enabled coreimage_filter && { check_header_objcc CoreImage/CoreImage.h || disable coreimage_filter; }
enabled coreimagesrc_filter && { check_header_objcc QuartzCore/CoreImage.h || disable coreimagesrc_filter; } enabled coreimagesrc_filter && { check_header_objcc CoreImage/CoreImage.h || disable coreimagesrc_filter; }
enabled decklink && { { check_header DeckLinkAPI.h || die "ERROR: DeckLinkAPI.h header not found"; } && enabled decklink && { { check_header DeckLinkAPI.h || die "ERROR: DeckLinkAPI.h header not found"; } &&
{ check_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a060100" || die "ERROR: Decklink API version must be >= 10.6.1."; } } { check_cpp_condition DeckLinkAPIVersion.h "BLACKMAGIC_DECKLINK_API_VERSION >= 0x0a060100" || die "ERROR: Decklink API version must be >= 10.6.1."; } }
enabled libndi_newtek && { check_header Processing.NDI.Lib.h || die "ERROR: Processing.NDI.Lib.h header not found"; } enabled libndi_newtek && { check_header Processing.NDI.Lib.h || die "ERROR: Processing.NDI.Lib.h header not found"; }
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* Video processing based on Apple's CoreImage API * Video processing based on Apple's CoreImage API
*/ */
#import <QuartzCore/CoreImage.h> #import <CoreImage/CoreImage.h>
#import <AppKit/AppKit.h> #import <AppKit/AppKit.h>
#include "avfilter.h" #include "avfilter.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment