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.
This commit is contained in:
Jan Schmidt 2008-01-30 12:19:02 +00:00
parent 86d5b8ebb0
commit bb132eda11
3 changed files with 15 additions and 4 deletions

View file

@ -1,3 +1,14 @@
2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
* 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 <tim at centricular dot net>
* win32/common/libgstpbutils.def:

View file

@ -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];
};

View file

@ -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];
};