From bb132eda110b22f6be9d6153746697ddd12a3de1 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Wed, 30 Jan 2008 12:19:02 +0000 Subject: [PATCH] gst-libs/gst/interfaces/: Change the way these deprecated function pointers are removed so that the compiled ABI is u... Original commit message from CVS: * gst-libs/gst/interfaces/mixeroptions.h: * gst-libs/gst/interfaces/mixertrack.h: Change the way these deprecated function pointers are removed so that the compiled ABI is unconditionally smaller. This sets in stone an ABI break that actually occurred when the things were deprecated in 0.10.14, which seems to be the best fix as the only known users are oss-mixer and sunaudio-mixer in gst-plugins-good. --- ChangeLog | 11 +++++++++++ gst-libs/gst/interfaces/mixeroptions.h | 4 ++-- gst-libs/gst/interfaces/mixertrack.h | 4 ++-- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 59ec506254..8093adf8b9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2008-01-30 Jan Schmidt + + * gst-libs/gst/interfaces/mixeroptions.h: + * gst-libs/gst/interfaces/mixertrack.h: + Change the way these deprecated function pointers are removed + so that the compiled ABI is unconditionally smaller. This + sets in stone an ABI break that actually occurred when the + things were deprecated in 0.10.14, which seems to be the best + fix as the only known users are oss-mixer and sunaudio-mixer in + gst-plugins-good. + 2008-01-30 Tim-Philipp Müller * win32/common/libgstpbutils.def: diff --git a/gst-libs/gst/interfaces/mixeroptions.h b/gst-libs/gst/interfaces/mixeroptions.h index e59a7e54e6..832c5bc52f 100644 --- a/gst-libs/gst/interfaces/mixeroptions.h +++ b/gst-libs/gst/interfaces/mixeroptions.h @@ -57,11 +57,11 @@ struct _GstMixerOptions { struct _GstMixerOptionsClass { GstMixerTrackClass parent; -#ifndef GST_DISABLE_DEPRECATED +#ifdef GST_MIXER_NEED_DEPRECATED /* signals */ void (* option_changed) (GstMixerOptions *opts, gchar *value); -#endif /* not GST_DISABLE_DEPRECATED */ +#endif /* GST_MIXER_NEED_DEPRECATED */ gpointer _gst_reserved[GST_PADDING]; }; diff --git a/gst-libs/gst/interfaces/mixertrack.h b/gst-libs/gst/interfaces/mixertrack.h index 655e8d028d..dad838ca27 100644 --- a/gst-libs/gst/interfaces/mixertrack.h +++ b/gst-libs/gst/interfaces/mixertrack.h @@ -88,7 +88,7 @@ struct _GstMixerTrack { struct _GstMixerTrackClass { GObjectClass parent; -#ifndef GST_DISABLE_DEPRECATED +#ifdef GST_MIXER_NEED_DEPRECATED /* signals (deprecated) */ void (* mute_toggled) (GstMixerTrack *channel, gboolean mute); @@ -96,7 +96,7 @@ struct _GstMixerTrackClass { gboolean record); void (* volume_changed) (GstMixerTrack *channel, gint *volumes); -#endif /* not GST_DISABLE_DEPRECATED */ +#endif /* GST_MIXER_NEED_DEPRECATED */ gpointer _gst_reserved[GST_PADDING]; };