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/dv/gstdvdec.c | 2 +- ext/dv/gstdvdemux.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/dv') diff --git a/ext/dv/gstdvdec.c b/ext/dv/gstdvdec.c index d18e3dd9..9c1db617 100644 --- a/ext/dv/gstdvdec.c +++ b/ext/dv/gstdvdec.c @@ -167,7 +167,7 @@ gst_dvdec_class_init (GstDVDecClass * klass) } static void -gst_dvdec_init (GstDVDec * dvdec) +gst_dvdec_init (GstDVDec * dvdec, GstDVDecClass * g_class) { dvdec->sinkpad = gst_pad_new_from_template (gst_static_pad_template_get (&sink_temp), diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c index 77ab23ed..e74eb22e 100644 --- a/ext/dv/gstdvdemux.c +++ b/ext/dv/gstdvdemux.c @@ -162,7 +162,7 @@ gst_dvdemux_class_init (GstDVDemuxClass * klass) } static void -gst_dvdemux_init (GstDVDemux * dvdemux) +gst_dvdemux_init (GstDVDemux * dvdemux, GstDVDemuxClass * g_class) { gint i; -- cgit