summaryrefslogtreecommitdiffstats
path: root/ext/cdaudio
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
commit2ef9f6835236fe4ffadc8457c556f1534658378f (patch)
tree33fced794fc32f7ad82faa895e342ce6db03365e /ext/cdaudio
parentcfcd78d3d9248b7ca55a716da4fbb2b47c780dca (diff)
downloadgst-plugins-bad-2ef9f6835236fe4ffadc8457c556f1534658378f.tar.gz
gst-plugins-bad-2ef9f6835236fe4ffadc8457c556f1534658378f.tar.bz2
gst-plugins-bad-2ef9f6835236fe4ffadc8457c556f1534658378f.zip
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 'ext/cdaudio')
-rw-r--r--ext/cdaudio/gstcdaudio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/cdaudio/gstcdaudio.c b/ext/cdaudio/gstcdaudio.c
index 069191f4..e36bc2c2 100644
--- a/ext/cdaudio/gstcdaudio.c
+++ b/ext/cdaudio/gstcdaudio.c
@@ -199,7 +199,7 @@ gst_cdaudio_class_init (GstCDAudioClass * klass)
}
static void
-gst_cdaudio_init (GstCDAudio * cdaudio)
+gst_cdaudio_init (GstCDAudio * cdaudio, GstCDAudioClass * g_class)
{
cdaudio->device = g_strdup ("/dev/cdrom");
cdaudio->was_playing = FALSE;