From 6d83665d7a1ced3cb9a31ad0878a98fb0c3a45de Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 21 Feb 2022 15:02:02 +0200 Subject: [PATCH] gl: Add GST_GL_DEPRECATED Part-of: --- subprojects/gst-plugins-base/gst-libs/gst/gl/gl-prelude.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/subprojects/gst-plugins-base/gst-libs/gst/gl/gl-prelude.h b/subprojects/gst-plugins-base/gst-libs/gst/gl/gl-prelude.h index 05e1f6229a..85fca5a0f4 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/gl/gl-prelude.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/gl/gl-prelude.h @@ -30,4 +30,12 @@ #define GST_GL_API GST_API_IMPORT #endif +#ifndef GST_DISABLE_DEPRECATED +#define GST_GL_DEPRECATED GST_GL_API +#define GST_GL_DEPRECATED_FOR(f) GST_GL_API +#else +#define GST_GL_DEPRECATED G_DEPRECATED GST_GL_API +#define GST_GL_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_GL_API +#endif + #endif /* __GST_GL_PRELUDE_H__ */ -- 2.34.1