Skip to content
Snippets Groups Projects
Commit 816b12d1 authored by Thibault Saunier's avatar Thibault Saunier :cactus:
Browse files

libs:base: Properly declare APIs as UNSTABLE

parent 902a9a56
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,9 @@ lib_LTLIBRARIES = libgstbadbase-@GST_API_VERSION@.la
libgstbadbase_@GST_API_VERSION@_la_SOURCES = \
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_LDFLAGS = $(GST_LDFLAGS)
......
......@@ -23,6 +23,11 @@
#ifndef __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>
G_BEGIN_DECLS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment