summaryrefslogtreecommitdiffstats
path: root/gst/autodetect
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-08-28 17:59:20 +0000
committerAndy Wingo <wingo@pobox.com>2005-08-28 17:59:20 +0000
commit99fc32962a35d65cce34a5f59948502eee1ac6b4 (patch)
tree56e3cb1fa8ab36ac98c0c5fc46e6266aaaa2c4b1 /gst/autodetect
parentb5c9e10399d4b33655e330d806c0a299e927bba0 (diff)
Updates for two-arg init from GST_BOILERPLATE.
Original commit message from CVS: 2005-08-28 Andy Wingo <wingo@pobox.com> * 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.
Diffstat (limited to 'gst/autodetect')
-rw-r--r--gst/autodetect/gstautoaudiosink.c3
-rw-r--r--gst/autodetect/gstautovideosink.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/gst/autodetect/gstautoaudiosink.c b/gst/autodetect/gstautoaudiosink.c
index 9d62c7de..f5462495 100644
--- a/gst/autodetect/gstautoaudiosink.c
+++ b/gst/autodetect/gstautoaudiosink.c
@@ -83,7 +83,8 @@ gst_auto_audio_sink_reset (GstAutoAudioSink * sink)
}
static void
-gst_auto_audio_sink_init (GstAutoAudioSink * sink)
+gst_auto_audio_sink_init (GstAutoAudioSink * sink,
+ GstAutoAudioSinkClass * 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/gst/autodetect/gstautovideosink.c b/gst/autodetect/gstautovideosink.c
index ba22a21f..76ec7500 100644
--- a/gst/autodetect/gstautovideosink.c
+++ b/gst/autodetect/gstautovideosink.c
@@ -83,7 +83,8 @@ gst_auto_video_sink_reset (GstAutoVideoSink * sink)
}
static void
-gst_auto_video_sink_init (GstAutoVideoSink * sink)
+gst_auto_video_sink_init (GstAutoVideoSink * sink,
+ GstAutoVideoSinkClass * g_class)
{
sink->pad = gst_ghost_pad_new_notarget ("sink", GST_PAD_SINK);
gst_element_add_pad (GST_ELEMENT (sink), sink->pad);