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

Jun Zhao mypopydev at gmail.com
Sat Feb 25 17:26:57 EET 2023


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>
 
-- 
2.25.1



More information about the ffmpeg-devel mailing list