mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
video: Add deprecation macros
This commit is contained in:
parent
362f771fe8
commit
fbcbbd363b
1 changed files with 8 additions and 0 deletions
|
@ -30,4 +30,12 @@
|
|||
#define GST_VIDEO_API GST_API_IMPORT
|
||||
#endif
|
||||
|
||||
#ifndef GST_DISABLE_DEPRECATED
|
||||
#define GST_VIDEO_DEPRECATED GST_VIDEO_API
|
||||
#define GST_VIDEO_DEPRECATED_FOR(f) GST_VIDEO_API
|
||||
#else
|
||||
#define GST_VIDEO_DEPRECATED G_DEPRECATED GST_VIDEO_API
|
||||
#define GST_VIDEO_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_VIDEO_API
|
||||
#endif
|
||||
|
||||
#endif /* __GST_VIDEO_PRELUDE_H__ */
|
||||
|
|
Loading…
Reference in a new issue