sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 6 Jun 2010 15:57:03 +0000 (17:57 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 6 Jun 2010 15:57:03 +0000 (17:57 +0200)
12 files changed:
sys/directsound/gstdirectsoundsink.c
sys/oss/gstossdmabuffer.c
sys/oss/gstosssink.c
sys/oss/gstosssrc.c
sys/oss4/oss4-sink.c
sys/oss4/oss4-source.c
sys/osxaudio/gstosxaudiosink.c
sys/osxaudio/gstosxaudiosrc.c
sys/osxaudio/gstosxringbuffer.c
sys/sunaudio/gstsunaudiosink.c
sys/sunaudio/gstsunaudiosrc.c
sys/waveform/gstwaveformsink.c

index 0c2b1aa..3479d67 100644 (file)
@@ -277,11 +277,9 @@ gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass)
 
   parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_directsound_sink_finalise);
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_directsound_sink_set_property);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_directsound_sink_get_property);
+  gobject_class->finalize = gst_directsound_sink_finalise;
+  gobject_class->set_property = gst_directsound_sink_set_property;
+  gobject_class->get_property = gst_directsound_sink_get_property;
 
   gstbasesink_class->get_caps =
       GST_DEBUG_FUNCPTR (gst_directsound_sink_getcaps);
index f37cf36..5e2d46e 100644 (file)
@@ -103,8 +103,8 @@ gst_ossdmabuffer_class_init (GstOssDMABufferClass * klass)
 
   parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_dispose);
-  gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_finalize);
+  gobject_class->dispose = gst_ossdmabuffer_dispose;
+  gobject_class->finalize = gst_ossdmabuffer_finalize;
 
   gstringbuffer_class->acquire = gst_ossdmabuffer_acquire;
   gstringbuffer_class->release = gst_ossdmabuffer_release;
index 7dc7e32..1d6d103 100644 (file)
@@ -198,10 +198,10 @@ gst_oss_sink_class_init (GstOssSinkClass * klass)
 
   parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss_sink_dispose);
-  gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_oss_sink_finalise);
-  gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_oss_sink_get_property);
-  gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_oss_sink_set_property);
+  gobject_class->dispose = gst_oss_sink_dispose;
+  gobject_class->finalize = gst_oss_sink_finalise;
+  gobject_class->get_property = gst_oss_sink_get_property;
+  gobject_class->set_property = gst_oss_sink_set_property;
 
   g_object_class_install_property (gobject_class, PROP_DEVICE,
       g_param_spec_string ("device", "Device",
index 5d04aa9..46ea490 100644 (file)
@@ -151,11 +151,10 @@ gst_oss_src_class_init (GstOssSrcClass * klass)
   gstbasesrc_class = (GstBaseSrcClass *) klass;
   gstaudiosrc_class = (GstAudioSrcClass *) klass;
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss_src_dispose);
-  gobject_class->finalize =
-      (GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_oss_src_finalize);
-  gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_oss_src_get_property);
-  gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_oss_src_set_property);
+  gobject_class->dispose = gst_oss_src_dispose;
+  gobject_class->finalize = (GObjectFinalizeFunc) gst_oss_src_finalize;
+  gobject_class->get_property = gst_oss_src_get_property;
+  gobject_class->set_property = gst_oss_src_set_property;
 
   gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_oss_src_getcaps);
 
index 2ebda3f..84a7d89 100644 (file)
@@ -143,10 +143,10 @@ gst_oss4_sink_class_init (GstOss4SinkClass * klass)
   GstBaseSinkClass *basesink_class = (GstBaseSinkClass *) klass;
   GObjectClass *gobject_class = (GObjectClass *) klass;
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss4_sink_dispose);
-  gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_oss4_sink_finalize);
-  gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_oss4_sink_get_property);
-  gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_oss4_sink_set_property);
+  gobject_class->dispose = gst_oss4_sink_dispose;
+  gobject_class->finalize = gst_oss4_sink_finalize;
+  gobject_class->get_property = gst_oss4_sink_get_property;
+  gobject_class->set_property = gst_oss4_sink_set_property;
 
   g_object_class_install_property (gobject_class, PROP_DEVICE,
       g_param_spec_string ("device", "Device",
index d3b92f7..1d3fc8c 100644 (file)
@@ -116,6 +116,7 @@ gst_oss4_source_base_init (gpointer g_class)
       gst_oss4_audio_get_template_caps ());
   gst_element_class_add_pad_template (element_class, templ);
 }
+
 static void
 gst_oss4_source_class_init (GstOss4SourceClass * klass)
 {
@@ -131,13 +132,10 @@ gst_oss4_source_class_init (GstOss4SourceClass * klass)
   gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass;
   gstaudiosrc_class = (GstAudioSrcClass *) klass;
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss4_source_dispose);
-  gobject_class->finalize =
-      (GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_oss4_source_finalize);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_oss4_source_get_property);
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_oss4_source_set_property);
+  gobject_class->dispose = gst_oss4_source_dispose;
+  gobject_class->finalize = (GObjectFinalizeFunc) gst_oss4_source_finalize;
+  gobject_class->get_property = gst_oss4_source_get_property;
+  gobject_class->set_property = gst_oss4_source_set_property;
 
   gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_oss4_source_getcaps);
 
index 24c9120..5e66e94 100644 (file)
@@ -166,10 +166,8 @@ gst_osx_audio_sink_class_init (GstOsxAudioSinkClass * klass)
 
   parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_osx_audio_sink_set_property);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_osx_audio_sink_get_property);
+  gobject_class->set_property = gst_osx_audio_sink_set_property;
+  gobject_class->get_property = gst_osx_audio_sink_get_property;
 
   g_object_class_install_property (gobject_class, ARG_DEVICE,
       g_param_spec_int ("device", "Device ID", "Device ID of output device",
index b7c8c6d..9e388fe 100644 (file)
@@ -157,10 +157,8 @@ gst_osx_audio_src_class_init (GstOsxAudioSrcClass * klass)
 
   parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_osx_audio_src_set_property);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_osx_audio_src_get_property);
+  gobject_class->set_property = gst_osx_audio_src_set_property;
+  gobject_class->get_property = gst_osx_audio_src_get_property;
 
   gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_osx_audio_src_get_caps);
 
index 67abd4d..095efc1 100644 (file)
@@ -105,8 +105,8 @@ gst_osx_ring_buffer_class_init (GstOsxRingBufferClass * klass)
 
   ring_parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_dispose);
-  gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_finalize);
+  gobject_class->dispose = gst_osx_ring_buffer_dispose;
+  gobject_class->finalize = gst_osx_ring_buffer_finalize;
 
   gstringbuffer_class->open_device =
       GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_open_device);
index 145768a..1d6af04 100644 (file)
@@ -175,10 +175,8 @@ gst_sunaudiosink_class_init (GstSunAudioSinkClass * klass)
   gobject_class->dispose = gst_sunaudiosink_dispose;
   gobject_class->finalize = gst_sunaudiosink_finalize;
 
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_sunaudiosink_set_property);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_sunaudiosink_get_property);
+  gobject_class->set_property = gst_sunaudiosink_set_property;
+  gobject_class->get_property = gst_sunaudiosink_get_property;
 
   gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_sunaudiosink_getcaps);
 
index 91d2929..aff36e9 100644 (file)
@@ -131,11 +131,9 @@ gst_sunaudiosrc_class_init (GstSunAudioSrcClass * klass)
   gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass;
   gstaudiosrc_class = (GstAudioSrcClass *) klass;
 
-  gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_sunaudiosrc_dispose);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_sunaudiosrc_get_property);
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_sunaudiosrc_set_property);
+  gobject_class->dispose = gst_sunaudiosrc_dispose;
+  gobject_class->get_property = gst_sunaudiosrc_get_property;
+  gobject_class->set_property = gst_sunaudiosrc_set_property;
 
   gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_sunaudiosrc_getcaps);
 
index ea649f5..36542c1 100644 (file)
@@ -131,11 +131,9 @@ gst_waveform_sink_class_init (GstWaveFormSinkClass * klass)
 
   parent_class = g_type_class_peek_parent (klass);
 
-  gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_waveform_sink_finalise);
-  gobject_class->get_property =
-      GST_DEBUG_FUNCPTR (gst_waveform_sink_get_property);
-  gobject_class->set_property =
-      GST_DEBUG_FUNCPTR (gst_waveform_sink_set_property);
+  gobject_class->finalize = gst_waveform_sink_finalise;
+  gobject_class->get_property = gst_waveform_sink_get_property;
+  gobject_class->set_property = gst_waveform_sink_set_property;
 
   gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_waveform_sink_getcaps);