From 99fc32962a35d65cce34a5f59948502eee1ac6b4 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 28 Aug 2005 17:59:20 +0000 Subject: Updates for two-arg init from GST_BOILERPLATE. Original commit message from CVS: 2005-08-28 Andy Wingo * Updates for two-arg init from GST_BOILERPLATE. * ext/ladspa/gstsignalprocessor.c (gst_signal_processor_init): Use the second arg for the class, because G_OBJECT_GET_CLASS (self) returns the wrong thing. (gst_signal_processor_add_pad_from_template): Make pads of the right type. * ext/ladspa/gstladspa.c (gst_ladspa_class_get_param_spec): Make writable param specs G_PARAM_CONSTRUCT so default values work. (gst_ladspa_init): Use the second arg for the class. --- ext/gconf/gstgconfaudiosink.c | 3 ++- ext/gconf/gstgconfvideosink.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'ext/gconf') diff --git a/ext/gconf/gstgconfaudiosink.c b/ext/gconf/gstgconfaudiosink.c index 256f569e..719b5353 100644 --- a/ext/gconf/gstgconfaudiosink.c +++ b/ext/gconf/gstgconfaudiosink.c @@ -84,7 +84,8 @@ gst_gconf_audio_sink_reset (GstGConfAudioSink * sink) } static void -gst_gconf_audio_sink_init (GstGConfAudioSink * sink) +gst_gconf_audio_sink_init (GstGConfAudioSink * sink, + GstGConfAudioSinkClass * g_class) { sink->pad = gst_ghost_pad_new_notarget ("sink", GST_PAD_SINK); gst_element_add_pad (GST_ELEMENT (sink), sink->pad); diff --git a/ext/gconf/gstgconfvideosink.c b/ext/gconf/gstgconfvideosink.c index 88b7644d..69a375e9 100644 --- a/ext/gconf/gstgconfvideosink.c +++ b/ext/gconf/gstgconfvideosink.c @@ -84,7 +84,8 @@ gst_gconf_video_sink_reset (GstGConfVideoSink * sink) } static void -gst_gconf_video_sink_init (GstGConfVideoSink * sink) +gst_gconf_video_sink_init (GstGConfVideoSink * sink, + GstGConfVideoSinkClass * g_class) { sink->pad = gst_ghost_pad_new_notarget ("sink", GST_PAD_SINK); gst_element_add_pad (GST_ELEMENT (sink), sink->pad); -- cgit