mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 17:52:29 +00:00
audio: remove unstable API guards from the audio decoder and encoder base classes
This commit is contained in:
parent
2dc7c2f676
commit
a0639dad38
6 changed files with 2 additions and 15 deletions
|
@ -11,7 +11,7 @@ libgstvorbis_la_SOURCES = gstvorbis.c \
|
||||||
gstvorbistag.c \
|
gstvorbistag.c \
|
||||||
gstvorbiscommon.c
|
gstvorbiscommon.c
|
||||||
|
|
||||||
libgstvorbis_la_CFLAGS = -DGST_USE_UNSTABLE_API \
|
libgstvorbis_la_CFLAGS = \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(VORBIS_CFLAGS)
|
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(VORBIS_CFLAGS)
|
||||||
## AM_PATH_VORBIS also sets VORBISENC_LIBS
|
## AM_PATH_VORBIS also sets VORBISENC_LIBS
|
||||||
libgstvorbis_la_LIBADD = \
|
libgstvorbis_la_LIBADD = \
|
||||||
|
@ -28,7 +28,7 @@ plugin_LTLIBRARIES += libgstivorbisdec.la
|
||||||
|
|
||||||
libgstivorbisdec_la_SOURCES = gstivorbisdec.c \
|
libgstivorbisdec_la_SOURCES = gstivorbisdec.c \
|
||||||
gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c
|
gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c
|
||||||
libgstivorbisdec_la_CFLAGS = -DGST_USE_UNSTABLE_API \
|
libgstivorbisdec_la_CFLAGS = \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
$(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
|
||||||
-DTREMOR $(IVORBIS_CFLAGS)
|
-DTREMOR $(IVORBIS_CFLAGS)
|
||||||
libgstivorbisdec_la_LIBADD = \
|
libgstivorbisdec_la_LIBADD = \
|
||||||
|
|
|
@ -77,7 +77,6 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMI
|
||||||
$(INTROSPECTION_SCANNER) -v --namespace GstAudio \
|
$(INTROSPECTION_SCANNER) -v --namespace GstAudio \
|
||||||
--nsversion=@GST_MAJORMINOR@ \
|
--nsversion=@GST_MAJORMINOR@ \
|
||||||
--strip-prefix=Gst \
|
--strip-prefix=Gst \
|
||||||
-DGST_USE_UNSTABLE_API \
|
|
||||||
-I$(top_srcdir)/gst-libs \
|
-I$(top_srcdir)/gst-libs \
|
||||||
-I$(top_builddir)/gst-libs \
|
-I$(top_builddir)/gst-libs \
|
||||||
$(gir_cincludes) \
|
$(gir_cincludes) \
|
||||||
|
|
|
@ -149,7 +149,6 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GST_USE_UNSTABLE_API
|
|
||||||
#include "gstaudiodecoder.h"
|
#include "gstaudiodecoder.h"
|
||||||
#include <gst/pbutils/descriptions.h>
|
#include <gst/pbutils/descriptions.h>
|
||||||
|
|
||||||
|
|
|
@ -23,11 +23,6 @@
|
||||||
#ifndef _GST_AUDIO_DECODER_H_
|
#ifndef _GST_AUDIO_DECODER_H_
|
||||||
#define _GST_AUDIO_DECODER_H_
|
#define _GST_AUDIO_DECODER_H_
|
||||||
|
|
||||||
#ifndef GST_USE_UNSTABLE_API
|
|
||||||
#warning "GstAudioDecoder 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/audio/audio.h>
|
#include <gst/audio/audio.h>
|
||||||
#include <gst/base/gstadapter.h>
|
#include <gst/base/gstadapter.h>
|
||||||
|
|
|
@ -151,7 +151,6 @@
|
||||||
# include "config.h"
|
# include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GST_USE_UNSTABLE_API
|
|
||||||
#include "gstaudioencoder.h"
|
#include "gstaudioencoder.h"
|
||||||
#include <gst/base/gstadapter.h>
|
#include <gst/base/gstadapter.h>
|
||||||
#include <gst/audio/audio.h>
|
#include <gst/audio/audio.h>
|
||||||
|
|
|
@ -22,11 +22,6 @@
|
||||||
#ifndef __GST_AUDIO_ENCODER_H__
|
#ifndef __GST_AUDIO_ENCODER_H__
|
||||||
#define __GST_AUDIO_ENCODER_H__
|
#define __GST_AUDIO_ENCODER_H__
|
||||||
|
|
||||||
#ifndef GST_USE_UNSTABLE_API
|
|
||||||
#warning "GstAudioEncoder 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/audio/audio.h>
|
#include <gst/audio/audio.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue