[FFmpeg-devel] [PATCH 1/2] lavfi/coreimage: suppress OpenGL deprecation warning

mypopy at gmail.com mypopy at gmail.com
Sun Feb 26 03:42:04 EET 2023


On Sun, Feb 26, 2023 at 1:48 AM Thilo Borgmann <thilo.borgmann at mail.de> wrote:
>
> 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?
>
Ok, will drop the fix


More information about the ffmpeg-devel mailing list