audio: remove unstable API guards from the audio decoder and encoder base classes
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 25 Nov 2011 13:11:54 +0000 (13:11 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 25 Nov 2011 13:11:54 +0000 (13:11 +0000)
ext/vorbis/Makefile.am
gst-libs/gst/audio/Makefile.am
gst-libs/gst/audio/gstaudiodecoder.c
gst-libs/gst/audio/gstaudiodecoder.h
gst-libs/gst/audio/gstaudioencoder.c
gst-libs/gst/audio/gstaudioencoder.h

index 9678a31..81799bd 100644 (file)
@@ -11,7 +11,7 @@ libgstvorbis_la_SOURCES = gstvorbis.c \
                          gstvorbistag.c \
                          gstvorbiscommon.c
 
-libgstvorbis_la_CFLAGS = -DGST_USE_UNSTABLE_API \
+libgstvorbis_la_CFLAGS = \
        $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(VORBIS_CFLAGS)
 ## AM_PATH_VORBIS also sets VORBISENC_LIBS
 libgstvorbis_la_LIBADD = \
@@ -28,7 +28,7 @@ plugin_LTLIBRARIES += libgstivorbisdec.la
 
 libgstivorbisdec_la_SOURCES = gstivorbisdec.c \
        gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c
-libgstivorbisdec_la_CFLAGS = -DGST_USE_UNSTABLE_API \
+libgstivorbisdec_la_CFLAGS = \
        $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
        -DTREMOR $(IVORBIS_CFLAGS)
 libgstivorbisdec_la_LIBADD = \
index 882b611..6e89c47 100644 (file)
@@ -77,7 +77,6 @@ GstAudio-@GST_MAJORMINOR@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_MAJORMI
                $(INTROSPECTION_SCANNER) -v --namespace GstAudio \
                --nsversion=@GST_MAJORMINOR@ \
                --strip-prefix=Gst \
-               -DGST_USE_UNSTABLE_API \
                -I$(top_srcdir)/gst-libs \
                -I$(top_builddir)/gst-libs \
                $(gir_cincludes) \
index a45e4e5..0f5d7cc 100644 (file)
 #include "config.h"
 #endif
 
-#define GST_USE_UNSTABLE_API
 #include "gstaudiodecoder.h"
 #include <gst/pbutils/descriptions.h>
 
index 783f83e..b080163 100644 (file)
 #ifndef _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/audio/audio.h>
 #include <gst/base/gstadapter.h>
index 14064f0..ded7502 100644 (file)
 #  include "config.h"
 #endif
 
-#define GST_USE_UNSTABLE_API
 #include "gstaudioencoder.h"
 #include <gst/base/gstadapter.h>
 #include <gst/audio/audio.h>
index 263a635..523d39a 100644 (file)
 #ifndef __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/audio/audio.h>