diff --git a/gst-libs/gst/video/video-prelude.h b/gst-libs/gst/video/video-prelude.h index c9f249ed5d..47a30dfef1 100644 --- a/gst-libs/gst/video/video-prelude.h +++ b/gst-libs/gst/video/video-prelude.h @@ -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__ */