Am 25.02.23 um 16:26 schrieb Jun Zhao:
From: Jun Zhao <[email protected]>
suppress OpenGL deprecation warning.
Signed-off-by: Jun Zhao <[email protected]>
---
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
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".