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