video: Add deprecation macros
This commit is contained in:
parent
362f771fe8
commit
fbcbbd363b
@ -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…
x
Reference in New Issue
Block a user