summaryrefslogtreecommitdiffstats
path: root/gst/level/gstlevel.c
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/level/gstlevel.c
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/level/gstlevel.c')
-rw-r--r--gst/level/gstlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/level/gstlevel.c b/gst/level/gstlevel.c
index 8730cd0c..e4fa86c0 100644
--- a/gst/level/gstlevel.c
+++ b/gst/level/gstlevel.c
@@ -135,7 +135,7 @@ gst_level_class_init (GstLevelClass * klass)
}
static void
-gst_level_init (GstLevel * filter)
+gst_level_init (GstLevel * filter, GstLevelClass * g_class)
{
filter->CS = NULL;
filter->peak = NULL;