sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs

This commit is contained in:
Sebastian Dröge 2010-06-06 17:57:03 +02:00
parent f16ed4a91c
commit 2ffcb159d7
12 changed files with 36 additions and 51 deletions

View file

@ -277,11 +277,9 @@ gst_directsound_sink_class_init (GstDirectSoundSinkClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_directsound_sink_finalise); gobject_class->finalize = gst_directsound_sink_finalise;
gobject_class->set_property = gobject_class->set_property = gst_directsound_sink_set_property;
GST_DEBUG_FUNCPTR (gst_directsound_sink_set_property); gobject_class->get_property = gst_directsound_sink_get_property;
gobject_class->get_property =
GST_DEBUG_FUNCPTR (gst_directsound_sink_get_property);
gstbasesink_class->get_caps = gstbasesink_class->get_caps =
GST_DEBUG_FUNCPTR (gst_directsound_sink_getcaps); GST_DEBUG_FUNCPTR (gst_directsound_sink_getcaps);

View file

@ -103,8 +103,8 @@ gst_ossdmabuffer_class_init (GstOssDMABufferClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_dispose); gobject_class->dispose = gst_ossdmabuffer_dispose;
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_finalize); gobject_class->finalize = gst_ossdmabuffer_finalize;
gstringbuffer_class->acquire = gst_ossdmabuffer_acquire; gstringbuffer_class->acquire = gst_ossdmabuffer_acquire;
gstringbuffer_class->release = gst_ossdmabuffer_release; gstringbuffer_class->release = gst_ossdmabuffer_release;

View file

@ -198,10 +198,10 @@ gst_oss_sink_class_init (GstOssSinkClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss_sink_dispose); gobject_class->dispose = gst_oss_sink_dispose;
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_oss_sink_finalise); gobject_class->finalize = gst_oss_sink_finalise;
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_oss_sink_get_property); gobject_class->get_property = gst_oss_sink_get_property;
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_oss_sink_set_property); gobject_class->set_property = gst_oss_sink_set_property;
g_object_class_install_property (gobject_class, PROP_DEVICE, g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device", g_param_spec_string ("device", "Device",

View file

@ -151,11 +151,10 @@ gst_oss_src_class_init (GstOssSrcClass * klass)
gstbasesrc_class = (GstBaseSrcClass *) klass; gstbasesrc_class = (GstBaseSrcClass *) klass;
gstaudiosrc_class = (GstAudioSrcClass *) klass; gstaudiosrc_class = (GstAudioSrcClass *) klass;
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss_src_dispose); gobject_class->dispose = gst_oss_src_dispose;
gobject_class->finalize = gobject_class->finalize = (GObjectFinalizeFunc) gst_oss_src_finalize;
(GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_oss_src_finalize); gobject_class->get_property = gst_oss_src_get_property;
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_oss_src_get_property); gobject_class->set_property = gst_oss_src_set_property;
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_oss_src_set_property);
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_oss_src_getcaps); gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_oss_src_getcaps);

View file

@ -143,10 +143,10 @@ gst_oss4_sink_class_init (GstOss4SinkClass * klass)
GstBaseSinkClass *basesink_class = (GstBaseSinkClass *) klass; GstBaseSinkClass *basesink_class = (GstBaseSinkClass *) klass;
GObjectClass *gobject_class = (GObjectClass *) klass; GObjectClass *gobject_class = (GObjectClass *) klass;
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss4_sink_dispose); gobject_class->dispose = gst_oss4_sink_dispose;
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_oss4_sink_finalize); gobject_class->finalize = gst_oss4_sink_finalize;
gobject_class->get_property = GST_DEBUG_FUNCPTR (gst_oss4_sink_get_property); gobject_class->get_property = gst_oss4_sink_get_property;
gobject_class->set_property = GST_DEBUG_FUNCPTR (gst_oss4_sink_set_property); gobject_class->set_property = gst_oss4_sink_set_property;
g_object_class_install_property (gobject_class, PROP_DEVICE, g_object_class_install_property (gobject_class, PROP_DEVICE,
g_param_spec_string ("device", "Device", g_param_spec_string ("device", "Device",

View file

@ -116,6 +116,7 @@ gst_oss4_source_base_init (gpointer g_class)
gst_oss4_audio_get_template_caps ()); gst_oss4_audio_get_template_caps ());
gst_element_class_add_pad_template (element_class, templ); gst_element_class_add_pad_template (element_class, templ);
} }
static void static void
gst_oss4_source_class_init (GstOss4SourceClass * klass) gst_oss4_source_class_init (GstOss4SourceClass * klass)
{ {
@ -131,13 +132,10 @@ gst_oss4_source_class_init (GstOss4SourceClass * klass)
gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass; gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass;
gstaudiosrc_class = (GstAudioSrcClass *) klass; gstaudiosrc_class = (GstAudioSrcClass *) klass;
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss4_source_dispose); gobject_class->dispose = gst_oss4_source_dispose;
gobject_class->finalize = gobject_class->finalize = (GObjectFinalizeFunc) gst_oss4_source_finalize;
(GObjectFinalizeFunc) GST_DEBUG_FUNCPTR (gst_oss4_source_finalize); gobject_class->get_property = gst_oss4_source_get_property;
gobject_class->get_property = gobject_class->set_property = gst_oss4_source_set_property;
GST_DEBUG_FUNCPTR (gst_oss4_source_get_property);
gobject_class->set_property =
GST_DEBUG_FUNCPTR (gst_oss4_source_set_property);
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_oss4_source_getcaps); gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_oss4_source_getcaps);

View file

@ -166,10 +166,8 @@ gst_osx_audio_sink_class_init (GstOsxAudioSinkClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gobject_class->set_property = gst_osx_audio_sink_set_property;
GST_DEBUG_FUNCPTR (gst_osx_audio_sink_set_property); gobject_class->get_property = gst_osx_audio_sink_get_property;
gobject_class->get_property =
GST_DEBUG_FUNCPTR (gst_osx_audio_sink_get_property);
g_object_class_install_property (gobject_class, ARG_DEVICE, g_object_class_install_property (gobject_class, ARG_DEVICE,
g_param_spec_int ("device", "Device ID", "Device ID of output device", g_param_spec_int ("device", "Device ID", "Device ID of output device",

View file

@ -157,10 +157,8 @@ gst_osx_audio_src_class_init (GstOsxAudioSrcClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gobject_class->set_property = gst_osx_audio_src_set_property;
GST_DEBUG_FUNCPTR (gst_osx_audio_src_set_property); gobject_class->get_property = gst_osx_audio_src_get_property;
gobject_class->get_property =
GST_DEBUG_FUNCPTR (gst_osx_audio_src_get_property);
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_osx_audio_src_get_caps); gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_osx_audio_src_get_caps);

View file

@ -105,8 +105,8 @@ gst_osx_ring_buffer_class_init (GstOsxRingBufferClass * klass)
ring_parent_class = g_type_class_peek_parent (klass); ring_parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_dispose); gobject_class->dispose = gst_osx_ring_buffer_dispose;
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_finalize); gobject_class->finalize = gst_osx_ring_buffer_finalize;
gstringbuffer_class->open_device = gstringbuffer_class->open_device =
GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_open_device); GST_DEBUG_FUNCPTR (gst_osx_ring_buffer_open_device);

View file

@ -175,10 +175,8 @@ gst_sunaudiosink_class_init (GstSunAudioSinkClass * klass)
gobject_class->dispose = gst_sunaudiosink_dispose; gobject_class->dispose = gst_sunaudiosink_dispose;
gobject_class->finalize = gst_sunaudiosink_finalize; gobject_class->finalize = gst_sunaudiosink_finalize;
gobject_class->set_property = gobject_class->set_property = gst_sunaudiosink_set_property;
GST_DEBUG_FUNCPTR (gst_sunaudiosink_set_property); gobject_class->get_property = gst_sunaudiosink_get_property;
gobject_class->get_property =
GST_DEBUG_FUNCPTR (gst_sunaudiosink_get_property);
gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_sunaudiosink_getcaps); gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_sunaudiosink_getcaps);

View file

@ -131,11 +131,9 @@ gst_sunaudiosrc_class_init (GstSunAudioSrcClass * klass)
gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass; gstbaseaudiosrc_class = (GstBaseAudioSrcClass *) klass;
gstaudiosrc_class = (GstAudioSrcClass *) klass; gstaudiosrc_class = (GstAudioSrcClass *) klass;
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_sunaudiosrc_dispose); gobject_class->dispose = gst_sunaudiosrc_dispose;
gobject_class->get_property = gobject_class->get_property = gst_sunaudiosrc_get_property;
GST_DEBUG_FUNCPTR (gst_sunaudiosrc_get_property); gobject_class->set_property = gst_sunaudiosrc_set_property;
gobject_class->set_property =
GST_DEBUG_FUNCPTR (gst_sunaudiosrc_set_property);
gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_sunaudiosrc_getcaps); gstbasesrc_class->get_caps = GST_DEBUG_FUNCPTR (gst_sunaudiosrc_getcaps);

View file

@ -131,11 +131,9 @@ gst_waveform_sink_class_init (GstWaveFormSinkClass * klass)
parent_class = g_type_class_peek_parent (klass); parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_waveform_sink_finalise); gobject_class->finalize = gst_waveform_sink_finalise;
gobject_class->get_property = gobject_class->get_property = gst_waveform_sink_get_property;
GST_DEBUG_FUNCPTR (gst_waveform_sink_get_property); gobject_class->set_property = gst_waveform_sink_set_property;
gobject_class->set_property =
GST_DEBUG_FUNCPTR (gst_waveform_sink_set_property);
gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_waveform_sink_getcaps); gstbasesink_class->get_caps = GST_DEBUG_FUNCPTR (gst_waveform_sink_getcaps);