summaryrefslogtreecommitdiffstats
path: root/gst/debug
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/debug
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/debug')
-rw-r--r--gst/debug/breakmydata.c2
-rw-r--r--gst/debug/progressreport.c5
-rw-r--r--gst/debug/testplugin.c4
3 files changed, 6 insertions, 5 deletions
diff --git a/gst/debug/breakmydata.c b/gst/debug/breakmydata.c
index bfc6ddfc..05334e93 100644
--- a/gst/debug/breakmydata.c
+++ b/gst/debug/breakmydata.c
@@ -253,7 +253,7 @@ gst_break_my_data_change_state (GstElement * element)
}
gboolean
-gst_break_my_data_plugin_init (GstPlugin * plugin)
+gst_break_my_data_plugin_init (GstPlugin * plugin, GstPluginClass * g_class)
{
if (!gst_element_register (plugin, "breakmydata", GST_RANK_NONE,
GST_TYPE_BREAK_MY_DATA))
diff --git a/gst/debug/progressreport.c b/gst/debug/progressreport.c
index 9d8a232c..023991cd 100644
--- a/gst/debug/progressreport.c
+++ b/gst/debug/progressreport.c
@@ -128,7 +128,8 @@ gst_progressreport_class_init (GstProgressReportClass * g_class)
}
static void
-gst_progressreport_init (GstProgressReport * instance)
+gst_progressreport_init (GstProgressReport * instance,
+ GstProgressReportClass * g_class)
{
GstProgressReport *progressreport = GST_PROGRESSREPORT (instance);
@@ -274,7 +275,7 @@ gst_progressreport_chain (GstPad * pad, GstData * _data)
}
gboolean
-gst_progressreport_plugin_init (GstPlugin * plugin)
+gst_progressreport_plugin_init (GstPlugin * plugin, GstPluginClass * g_class)
{
return gst_element_register (plugin, "progressreport", GST_RANK_NONE,
GST_TYPE_PROGRESSREPORT);
diff --git a/gst/debug/testplugin.c b/gst/debug/testplugin.c
index 26c5fa99..2936a5e4 100644
--- a/gst/debug/testplugin.c
+++ b/gst/debug/testplugin.c
@@ -105,7 +105,7 @@ gst_test_class_init (GstTestClass * klass)
}
static void
-gst_test_init (GstTest * test)
+gst_test_init (GstTest * test, GstTestClass * g_class)
{
GstTestClass *klass;
guint i;
@@ -249,7 +249,7 @@ gst_test_get_property (GObject * object, guint prop_id, GValue * value,
}
gboolean
-gst_test_plugin_init (GstPlugin * plugin)
+gst_test_plugin_init (GstPlugin * plugin, GstPluginClass * g_class)
{
if (!gst_element_register (plugin, "testsink", GST_RANK_NONE, GST_TYPE_TEST))
return FALSE;