diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am index 9f54995173..567a1f8d47 100644 --- a/gst-libs/gst/video/Makefile.am +++ b/gst-libs/gst/video/Makefile.am @@ -19,6 +19,7 @@ libgstbadvideo_@GST_API_VERSION@include_HEADERS = \ nodist_libgstbadvideo_@GST_API_VERSION@include_HEADERS = $(built_headers) libgstbadvideo_@GST_API_VERSION@_la_CFLAGS = \ + -DGST_USE_UNSTABLE_API \ -I$(top_srcdir)/gst-libs \ -I$(top_builddir)/gst-libs \ $(GST_CFLAGS) $(ORC_CFLAGS) \ diff --git a/gst-libs/gst/video/gstvideoaggregator.h b/gst-libs/gst/video/gstvideoaggregator.h index 9fa5071ae6..b9fd53164c 100644 --- a/gst-libs/gst/video/gstvideoaggregator.h +++ b/gst-libs/gst/video/gstvideoaggregator.h @@ -21,6 +21,11 @@ #ifndef __GST_VIDEO_AGGREGATOR_H__ #define __GST_VIDEO_AGGREGATOR_H__ +#ifndef GST_USE_UNSTABLE_API +#warning "The Video 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 #include #include