mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
libs:base: Properly declare APIs as UNSTABLE
This commit is contained in:
parent
902a9a56d0
commit
816b12d100
2 changed files with 8 additions and 1 deletions
|
@ -3,7 +3,9 @@ lib_LTLIBRARIES = libgstbadbase-@GST_API_VERSION@.la
|
||||||
libgstbadbase_@GST_API_VERSION@_la_SOURCES = \
|
libgstbadbase_@GST_API_VERSION@_la_SOURCES = \
|
||||||
gstaggregator.c
|
gstaggregator.c
|
||||||
|
|
||||||
libgstbadbase_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS)
|
libgstbadbase_@GST_API_VERSION@_la_CFLAGS = $(GST_CFLAGS) \
|
||||||
|
-DGST_USE_UNSTABLE_API
|
||||||
|
|
||||||
libgstbadbase_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS)
|
libgstbadbase_@GST_API_VERSION@_la_LIBADD = $(GST_LIBS)
|
||||||
libgstbadbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LDFLAGS)
|
libgstbadbase_@GST_API_VERSION@_la_LDFLAGS = $(GST_LDFLAGS)
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
#ifndef __GST_AGGREGATOR_H__
|
#ifndef __GST_AGGREGATOR_H__
|
||||||
#define __GST_AGGREGATOR_H__
|
#define __GST_AGGREGATOR_H__
|
||||||
|
|
||||||
|
#ifndef GST_USE_UNSTABLE_API
|
||||||
|
#warning "The Base 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>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
Loading…
Reference in a new issue