summaryrefslogtreecommitdiff
path: root/gst-libs/gst/player/player-prelude.h
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs/gst/player/player-prelude.h')
-rw-r--r--gst-libs/gst/player/player-prelude.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst-libs/gst/player/player-prelude.h b/gst-libs/gst/player/player-prelude.h
index 2a8b87e66..4b7046996 100644
--- a/gst-libs/gst/player/player-prelude.h
+++ b/gst-libs/gst/player/player-prelude.h
@@ -32,4 +32,12 @@
# endif
#endif
+#ifndef GST_DISABLE_DEPRECATED
+#define GST_PLAYER_DEPRECATED GST_PLAYER_API
+#define GST_PLAYER_DEPRECATED_FOR(f) GST_PLAYER_API
+#else
+#define GST_PLAYER_DEPRECATED G_DEPRECATED GST_PLAYER_API
+#define GST_PLAYER_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) GST_PLAYER_API
+#endif
+
#endif /* __GST_PLAYER_PRELUDE_H__ */