mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 13:32:29 +00:00
codecparsers: Declare the new APIs as unstable for the time being
This commit is contained in:
parent
38cdb54112
commit
2c928aba19
4 changed files with 13 additions and 0 deletions
|
@ -30,6 +30,11 @@
|
|||
#ifndef __GST_H264_PARSER_H__
|
||||
#define __GST_H264_PARSER_H__
|
||||
|
||||
#ifndef GST_USE_UNSTABLE_API
|
||||
#warning "The H.264 parsing library 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
|
||||
|
|
|
@ -26,6 +26,11 @@
|
|||
#ifndef __GST_MPEG_VIDEO_UTILS_H__
|
||||
#define __GST_MPEG_VIDEO_UTILS_H__
|
||||
|
||||
#ifndef GST_USE_UNSTABLE_API
|
||||
#warning "The Mpeg video parsing library 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
|
||||
|
|
|
@ -7,6 +7,7 @@ libgstvideoparsersbad_la_SOURCES = plugin.c \
|
|||
|
||||
libgstvideoparsersbad_la_CFLAGS = \
|
||||
$(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS)
|
||||
libgstvideoparsersbad_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) \
|
||||
$(top_builddir)/gst-libs/gst/codecparsers/libgstcodecparsers-$(GST_MAJORMINOR).la \
|
||||
|
|
|
@ -218,6 +218,7 @@ elements_h264parse_LDADD = libparser.la $(LDADD)
|
|||
|
||||
libs_mpegvideoparser_CFLAGS = \
|
||||
$(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
|
||||
|
||||
libs_mpegvideoparser_LDADD = \
|
||||
|
@ -227,6 +228,7 @@ libs_mpegvideoparser_LDADD = \
|
|||
|
||||
libs_h264parser_CFLAGS = \
|
||||
$(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
|
||||
-DGST_USE_UNSTABLE_API \
|
||||
$(GST_BASE_CFLAGS) $(GST_CFLAGS) $(AM_CFLAGS)
|
||||
|
||||
libs_h264parser_LDADD = \
|
||||
|
|
Loading…
Reference in a new issue