diff options
author | Andy Wingo <wingo@pobox.com> | 2005-08-28 17:59:20 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2005-08-28 17:59:20 +0000 |
commit | 99fc32962a35d65cce34a5f59948502eee1ac6b4 (patch) | |
tree | 56e3cb1fa8ab36ac98c0c5fc46e6266aaaa2c4b1 /gst/oldcore | |
parent | b5c9e10399d4b33655e330d806c0a299e927bba0 (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/oldcore')
-rw-r--r-- | gst/oldcore/gstaggregator.c | 2 | ||||
-rw-r--r-- | gst/oldcore/gstfdsink.c | 2 | ||||
-rw-r--r-- | gst/oldcore/gstmultifilesrc.c | 3 | ||||
-rw-r--r-- | gst/oldcore/gstpipefilter.c | 2 | ||||
-rw-r--r-- | gst/oldcore/gstshaper.c | 2 | ||||
-rw-r--r-- | gst/oldcore/gststatistics.c | 2 |
6 files changed, 7 insertions, 6 deletions
diff --git a/gst/oldcore/gstaggregator.c b/gst/oldcore/gstaggregator.c index 86d42543..d8dad7e2 100644 --- a/gst/oldcore/gstaggregator.c +++ b/gst/oldcore/gstaggregator.c @@ -161,7 +161,7 @@ gst_aggregator_class_init (GstAggregatorClass * klass) } static void -gst_aggregator_init (GstAggregator * aggregator) +gst_aggregator_init (GstAggregator * aggregator, GstAggregatorClass * g_class) { aggregator->srcpad = gst_pad_new_from_template (gst_static_pad_template_get (&srctemplate), diff --git a/gst/oldcore/gstfdsink.c b/gst/oldcore/gstfdsink.c index ee49bb83..1d2ad11c 100644 --- a/gst/oldcore/gstfdsink.c +++ b/gst/oldcore/gstfdsink.c @@ -97,7 +97,7 @@ gst_fdsink_class_init (GstFdSinkClass * klass) } static void -gst_fdsink_init (GstFdSink * fdsink) +gst_fdsink_init (GstFdSink * fdsink, GstFdSinkClass * g_class) { fdsink->sinkpad = gst_pad_new_from_template (gst_static_pad_template_get (&sinktemplate), diff --git a/gst/oldcore/gstmultifilesrc.c b/gst/oldcore/gstmultifilesrc.c index 6d88d972..593f66b5 100644 --- a/gst/oldcore/gstmultifilesrc.c +++ b/gst/oldcore/gstmultifilesrc.c @@ -125,7 +125,8 @@ gst_multifilesrc_class_init (GstMultiFileSrcClass * klass) } static void -gst_multifilesrc_init (GstMultiFileSrc * multifilesrc) +gst_multifilesrc_init (GstMultiFileSrc * multifilesrc, + GstMultiFileSrcClass * g_class) { /* GST_FLAG_SET (filesrc, GST_SRC_); */ diff --git a/gst/oldcore/gstpipefilter.c b/gst/oldcore/gstpipefilter.c index f1371893..731cc056 100644 --- a/gst/oldcore/gstpipefilter.c +++ b/gst/oldcore/gstpipefilter.c @@ -118,7 +118,7 @@ gst_pipefilter_class_init (GstPipefilterClass * klass) } static void -gst_pipefilter_init (GstPipefilter * pipefilter) +gst_pipefilter_init (GstPipefilter * pipefilter, GstPipefilterClass * g_class) { GST_FLAG_SET (pipefilter, GST_ELEMENT_DECOUPLED); diff --git a/gst/oldcore/gstshaper.c b/gst/oldcore/gstshaper.c index 50631fe8..9f8d4780 100644 --- a/gst/oldcore/gstshaper.c +++ b/gst/oldcore/gstshaper.c @@ -245,7 +245,7 @@ gst_shaper_request_new_pad (GstElement * element, GstPadTemplate * templ, } static void -gst_shaper_init (GstShaper * shaper) +gst_shaper_init (GstShaper * shaper, GstShaperClass * g_class) { gst_element_set_loop_function (GST_ELEMENT (shaper), gst_shaper_loop); diff --git a/gst/oldcore/gststatistics.c b/gst/oldcore/gststatistics.c index 7c8b747a..30e3bfcb 100644 --- a/gst/oldcore/gststatistics.c +++ b/gst/oldcore/gststatistics.c @@ -167,7 +167,7 @@ gst_statistics_class_init (GstStatisticsClass * klass) } static void -gst_statistics_init (GstStatistics * statistics) +gst_statistics_init (GstStatistics * statistics, GstStatisticsClass * g_class) { statistics->sinkpad = gst_pad_new_from_template (gst_static_pad_template_get (&sinktemplate), |