mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-06 07:28:53 +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
|
#define GST_VIDEO_API GST_API_IMPORT
|
||||||
#endif
|
#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__ */
|
#endif /* __GST_VIDEO_PRELUDE_H__ */
|
||||||
|
|
Loading…
Reference in a new issue