gst-libs/gst/audio/audio.h: Don't guard deprecated enum with #ifndef DISABLE_DEPRECATED, or compilation with DISABLE_...

Original commit message from CVS:
* gst-libs/gst/audio/audio.h:
Don't guard deprecated enum with #ifndef DISABLE_DEPRECATED, or
compilation with DISABLE_DEPRECATED and without REMOVE_DEPRECATED
(ie. normal cvs builds) will fail.
This commit is contained in:
Tim-Philipp Müller 2007-10-31 15:30:15 +00:00
parent e37568c196
commit 55a3eaafea
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,10 @@
2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/audio/audio.h:
Don't guard deprecated enum with #ifndef DISABLE_DEPRECATED, or
compilation with DISABLE_DEPRECATED and without REMOVE_DEPRECATED
(ie. normal cvs builds) will fail.
2007-10-31 Stefan Kost <ensonic@users.sf.net>
* docs/libs/Makefile.am:

View file

@ -135,7 +135,6 @@ gboolean gst_audio_is_buffer_framed (GstPad* pad, GstBuffer* buf);
*
* Deprecated: use gst_structure_set() directly
*/
#ifndef GST_DISABLE_DEPRECATED
typedef enum {
GST_AUDIO_FIELD_RATE = (1 << 0),
GST_AUDIO_FIELD_CHANNELS = (1 << 1),
@ -144,7 +143,6 @@ typedef enum {
GST_AUDIO_FIELD_DEPTH = (1 << 4),
GST_AUDIO_FIELD_SIGNED = (1 << 5),
} GstAudioFieldFlag;
#endif /* GST_DISABLE_DEPRECATED */
#ifndef GST_DISABLE_DEPRECATED
void gst_audio_structure_set_int (GstStructure *structure, GstAudioFieldFlag flag);