mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-03 15:06:34 +00:00
sys: Don't use GST_DEBUG_FUNCPTR for GObject vfuncs
This commit is contained in:
parent
f16ed4a91c
commit
2ffcb159d7
12 changed files with 36 additions and 51 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue