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

libs:video: Properly declare APIs as UNSTABLE

parent 816b12d1
No related branches found
No related tags found
No related merge requests found
......@@ -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) \
......
......@@ -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 <gst/gst.h>
#include <gst/video/video.h>
#include <gst/base/gstaggregator.h>
......
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