mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
libs:video: Properly declare APIs as UNSTABLE
This commit is contained in:
parent
816b12d100
commit
bc5e230040
2 changed files with 6 additions and 0 deletions
|
@ -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) \
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue