mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-18 05:16:05 +00:00
gl: Add GST_GL_DEPRECATED
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1764>
This commit is contained in:
parent
8ab1c5791b
commit
6d83665d7a
1 changed files with 8 additions and 0 deletions
|
@ -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__ */
|
||||
|
|
Loading…
Reference in a new issue