diff options
author | Thibault Saunier <tsaunier@gnome.org> | 2014-06-21 16:51:01 +0200 |
---|---|---|
committer | Thibault Saunier <tsaunier@gnome.org> | 2014-06-21 17:02:50 +0200 |
commit | 816b12d100a8b8e2b1f018e7b82373257c986541 (patch) | |
tree | 39099bf01b9b327c14db392f9a7208635f570f65 | |
parent | 902a9a56d05829d6be52941a30e80a3de69ca2e1 (diff) | |
download | gstreamer-plugins-bad-816b12d100a8b8e2b1f018e7b82373257c986541.tar.gz |
libs:base: Properly declare APIs as UNSTABLE
-rw-r--r-- | gst-libs/gst/base/Makefile.am | 4 | ||||
-rw-r--r-- | gst-libs/gst/base/gstaggregator.h | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gst-libs/gst/base/Makefile.am b/gst-libs/gst/base/Makefile.am index 7273e2156..5f3dc1f38 100644 --- a/gst-libs/gst/base/Makefile.am +++ b/gst-libs/gst/base/Makefile.am @@ -3,7 +3,9 @@ lib_LTLIBRARIES = libgstbadbase-@GST_API_VERSION@.la libgstbadbase_@GST_API_VERSION@_la_SOURCES = \ gstaggregator.c -libgstbadbase_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) +libgstbadbase_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) \ + -DGST_USE_UNSTABLE_API + libgstbadbase_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS) libgstbadbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LDFLAGS) diff --git a/gst-libs/gst/base/gstaggregator.h b/gst-libs/gst/base/gstaggregator.h index 3965ccc48..507da136c 100644 --- a/gst-libs/gst/base/gstaggregator.h +++ b/gst-libs/gst/base/gstaggregator.h @@ -23,6 +23,11 @@ #ifndef __GST_AGGREGATOR_H__ #define __GST_AGGREGATOR_H__ +#ifndef GST_USE_UNSTABLE_API +#warning "The Base library from gst-plugins-bad is unstable API and may change in future." +#warning "You can define GST_USE_UNSTABLE_API to avoid this warning." +#endif + #include <gst/gst.h> G_BEGIN_DECLS |