From f8139b2b99dd3865534a0f84513b91ff9cd20566 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 14 Feb 2013 09:03:28 +0000 Subject: [PATCH] insertbin: mark as unstable API --- gst-libs/gst/insertbin/Makefile.am | 1 + gst-libs/gst/insertbin/gstinsertbin.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am index 8c4cfba0d7..6379a0b59c 100644 --- a/gst-libs/gst/insertbin/Makefile.am +++ b/gst-libs/gst/insertbin/Makefile.am @@ -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) diff --git a/gst-libs/gst/insertbin/gstinsertbin.h b/gst-libs/gst/insertbin/gstinsertbin.h index 21e5d54304..051a17a19c 100644 --- a/gst-libs/gst/insertbin/gstinsertbin.h +++ b/gst-libs/gst/insertbin/gstinsertbin.h @@ -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 G_BEGIN_DECLS