summaryrefslogtreecommitdiff
path: root/gst/audiofxbad
diff options
context:
space:
mode:
authorEdward Hervey <edward@collabora.com>2013-07-29 09:35:08 +0200
committerEdward Hervey <edward@collabora.com>2013-07-29 09:42:12 +0200
commit97426a1caac4abba03f43a5c4b6c6fcff30ba167 (patch)
tree48d2af2f49a72da383a97d2b7a00ae09799e3426 /gst/audiofxbad
parentbc84cd775fac9f6163526fba55d2f68dc3c067c1 (diff)
all: Fix for GST_DISABLE_GST_DEBUG
Where applicable, remove methods that don't do anything different than the default implementation.
Diffstat (limited to 'gst/audiofxbad')
-rw-r--r--gst/audiofxbad/gstaudiochannelmix.c30
1 files changed, 2 insertions, 28 deletions
diff --git a/gst/audiofxbad/gstaudiochannelmix.c b/gst/audiofxbad/gstaudiochannelmix.c
index 4494d52b8..fa48c267c 100644
--- a/gst/audiofxbad/gstaudiochannelmix.c
+++ b/gst/audiofxbad/gstaudiochannelmix.c
@@ -51,8 +51,6 @@ static void gst_audio_channel_mix_set_property (GObject * object,
guint property_id, const GValue * value, GParamSpec * pspec);
static void gst_audio_channel_mix_get_property (GObject * object,
guint property_id, GValue * value, GParamSpec * pspec);
-static void gst_audio_channel_mix_dispose (GObject * object);
-static void gst_audio_channel_mix_finalize (GObject * object);
static gboolean gst_audio_channel_mix_setup (GstAudioFilter * filter,
const GstAudioInfo * info);
@@ -115,8 +113,6 @@ gst_audio_channel_mix_class_init (GstAudioChannelMixClass * klass)
gobject_class->set_property = gst_audio_channel_mix_set_property;
gobject_class->get_property = gst_audio_channel_mix_get_property;
- gobject_class->dispose = gst_audio_channel_mix_dispose;
- gobject_class->finalize = gst_audio_channel_mix_finalize;
audio_filter_class->setup = GST_DEBUG_FUNCPTR (gst_audio_channel_mix_setup);
base_transform_class->transform_ip =
GST_DEBUG_FUNCPTR (gst_audio_channel_mix_transform_ip);
@@ -209,36 +205,14 @@ gst_audio_channel_mix_get_property (GObject * object, guint property_id,
}
}
-void
-gst_audio_channel_mix_dispose (GObject * object)
-{
- GstAudioChannelMix *audiochannelmix = GST_AUDIO_CHANNEL_MIX (object);
-
- GST_DEBUG_OBJECT (audiochannelmix, "dispose");
-
- /* clean up as possible. may be called multiple times */
-
- G_OBJECT_CLASS (gst_audio_channel_mix_parent_class)->dispose (object);
-}
-
-void
-gst_audio_channel_mix_finalize (GObject * object)
-{
- GstAudioChannelMix *audiochannelmix = GST_AUDIO_CHANNEL_MIX (object);
-
- GST_DEBUG_OBJECT (audiochannelmix, "finalize");
-
- /* clean up object here */
-
- G_OBJECT_CLASS (gst_audio_channel_mix_parent_class)->finalize (object);
-}
-
static gboolean
gst_audio_channel_mix_setup (GstAudioFilter * filter, const GstAudioInfo * info)
{
+#ifndef GST_DISABLE_GST_DEBUG
GstAudioChannelMix *audiochannelmix = GST_AUDIO_CHANNEL_MIX (filter);
GST_DEBUG_OBJECT (audiochannelmix, "setup");
+#endif
return TRUE;
}