insertbin: mark as unstable API

This commit is contained in:
Tim-Philipp Müller 2013-02-14 09:03:28 +00:00
parent 214d7e0619
commit f8139b2b99
2 changed files with 6 additions and 0 deletions

View file

@ -48,6 +48,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS
--pkg gstreamer-base-@GST_API_VERSION@ \
--pkg-export gstreamer-insertbin-@GST_API_VERSION@ \
--add-init-section="gst_init(NULL,NULL);" \
-DGST_USE_UNSTABLE_API \
--output $@ \
$(gir_headers) \
$(gir_sources)

View file

@ -26,6 +26,11 @@
#ifndef __GST_INSERT_BIN_H__
#define __GST_INSERT_BIN_H__
#ifndef GST_USE_UNSTABLE_API
#warning "The GStreamer insertbin library 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