[FFmpeg-devel] [PATCH 1/2] lavfi/coreimage: suppress OpenGL deprecation warning
Thilo Borgmann
thilo.borgmann at mail.de
Sat Feb 25 19:48:33 EET 2023
Am 25.02.23 um 16:26 schrieb Jun Zhao:
> From: Jun Zhao <barryjzhao at tencent.com>
>
> suppress OpenGL deprecation warning.
>
> Signed-off-by: Jun Zhao <barryjzhao at tencent.com>
> ---
> libavfilter/vf_coreimage.m | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_coreimage.m b/libavfilter/vf_coreimage.m
> index b1959861de..17b2cde6fe 100644
> --- a/libavfilter/vf_coreimage.m
> +++ b/libavfilter/vf_coreimage.m
> @@ -22,7 +22,8 @@
> * @file
> * Video processing based on Apple's CoreImage API
> */
> -
> +#define GL_SILENCE_DEPRECATION
> +#define CI_SILENCE_GL_DEPRECATION
> #import <CoreImage/CoreImage.h>
> #import <AppKit/AppKit.h>
Why do you want to silence a framework warning?
-Thilo
More information about the ffmpeg-devel
mailing list