libs:video: Properly declare APIs as UNSTABLE

This commit is contained in:
Thibault Saunier 2014-06-21 16:52:51 +02:00
parent 816b12d100
commit bc5e230040
2 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,7 @@ libgstbadvideo_@GST_API_VERSION@include_HEADERS = \
nodist_libgstbadvideo_@GST_API_VERSION@include_HEADERS = $(built_headers) nodist_libgstbadvideo_@GST_API_VERSION@include_HEADERS = $(built_headers)
libgstbadvideo_@GST_API_VERSION@_la_CFLAGS = \ libgstbadvideo_@GST_API_VERSION@_la_CFLAGS = \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \ -I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \ -I$(top_builddir)/gst-libs \
$(GST_CFLAGS) $(ORC_CFLAGS) \ $(GST_CFLAGS) $(ORC_CFLAGS) \

View file

@ -21,6 +21,11 @@
#ifndef __GST_VIDEO_AGGREGATOR_H__ #ifndef __GST_VIDEO_AGGREGATOR_H__
#define __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 <gst/gst.h> #include <gst/gst.h>
#include <gst/video/video.h> #include <gst/video/video.h>
#include <gst/base/gstaggregator.h> #include <gst/base/gstaggregator.h>