Updates for two-arg init from GST_BOILERPLATE_FULL.

Original commit message from CVS:
2005-08-28  Andy Wingo  <wingo@pobox.com>

* Updates for two-arg init from GST_BOILERPLATE_FULL.
This commit is contained in:
Andy Wingo 2005-08-28 17:52:45 +00:00
parent b6c368ce67
commit c32721723b
18 changed files with 35 additions and 27 deletions

View file

@ -1,3 +1,7 @@
2005-08-28 Andy Wingo <wingo@pobox.com>
* Updates for two-arg init from GST_BOILERPLATE_FULL.
2005-08-26 Wim Taymans <wim@fluendo.com> 2005-08-26 Wim Taymans <wim@fluendo.com>
* gst/audioconvert/audioconvert.c: (if), (float), * gst/audioconvert/audioconvert.c: (if), (float),

View file

@ -59,7 +59,8 @@ gst_alsa_mixer_element_class_init (GstAlsaMixerElementClass * klass)
} }
static void static void
gst_alsa_mixer_element_init (GstAlsaMixerElement * this) gst_alsa_mixer_element_init (GstAlsaMixerElement * this,
GstAlsaMixerElementClass * klass)
{ {
this->mixer = NULL; this->mixer = NULL;
} }

View file

@ -108,6 +108,7 @@ gst_alsasrc_base_init (gpointer g_class)
gst_element_class_add_pad_template (element_class, gst_element_class_add_pad_template (element_class,
gst_static_pad_template_get (&alsasrc_src_factory)); gst_static_pad_template_get (&alsasrc_src_factory));
} }
static void static void
gst_alsasrc_class_init (GstAlsaSrcClass * klass) gst_alsasrc_class_init (GstAlsaSrcClass * klass)
{ {
@ -198,7 +199,7 @@ gst_alsasrc_get_property (GObject * object, guint prop_id,
} }
static void static void
gst_alsasrc_init (GstAlsaSrc * alsasrc) gst_alsasrc_init (GstAlsaSrc * alsasrc, GstAlsaSrcClass * g_class)
{ {
GST_DEBUG ("initializing alsasrc"); GST_DEBUG ("initializing alsasrc");

View file

@ -1082,7 +1082,7 @@ gst_ogg_demux_class_init (GstOggDemuxClass * klass)
} }
static void static void
gst_ogg_demux_init (GstOggDemux * ogg) gst_ogg_demux_init (GstOggDemux * ogg, GstOggDemuxClass * g_class)
{ {
/* create the sink pad */ /* create the sink pad */
ogg->sinkpad = ogg->sinkpad =

View file

@ -172,7 +172,7 @@ gst_theora_dec_class_init (GstTheoraDecClass * klass)
} }
static void static void
gst_theora_dec_init (GstTheoraDec * dec) gst_theora_dec_init (GstTheoraDec * dec, GstTheoraDecClass * g_class)
{ {
dec->sinkpad = dec->sinkpad =
gst_pad_new_from_template (gst_static_pad_template_get gst_pad_new_from_template (gst_static_pad_template_get

View file

@ -256,7 +256,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
} }
static void static void
gst_theora_enc_init (GstTheoraEnc * enc) gst_theora_enc_init (GstTheoraEnc * enc, GstTheoraEncClass * g_class)
{ {
enc->sinkpad = enc->sinkpad =
gst_pad_new_from_template (gst_static_pad_template_get gst_pad_new_from_template (gst_static_pad_template_get

View file

@ -158,7 +158,7 @@ vorbis_get_query_types (GstPad * pad)
} }
static void static void
gst_vorbis_dec_init (GstVorbisDec * dec) gst_vorbis_dec_init (GstVorbisDec * dec, GstVorbisDecClass * g_class)
{ {
dec->sinkpad = dec->sinkpad =
gst_pad_new_from_template (gst_static_pad_template_get gst_pad_new_from_template (gst_static_pad_template_get

View file

@ -86,7 +86,7 @@ gst_vorbis_parse_class_init (GstVorbisParseClass * klass)
} }
static void static void
gst_vorbis_parse_init (GstVorbisParse * parse) gst_vorbis_parse_init (GstVorbisParse * parse, GstVorbisParseClass * g_class)
{ {
parse->sinkpad = parse->sinkpad =
gst_pad_new_from_template (gst_static_pad_template_get gst_pad_new_from_template (gst_static_pad_template_get

View file

@ -64,7 +64,8 @@ struct _GstAudioRingBufferClass
}; };
static void gst_audioringbuffer_class_init (GstAudioRingBufferClass * klass); static void gst_audioringbuffer_class_init (GstAudioRingBufferClass * klass);
static void gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer); static void gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
GstAudioRingBufferClass * klass);
static void gst_audioringbuffer_dispose (GObject * object); static void gst_audioringbuffer_dispose (GObject * object);
static void gst_audioringbuffer_finalize (GObject * object); static void gst_audioringbuffer_finalize (GObject * object);
@ -221,7 +222,8 @@ stop_running:
} }
static void static void
gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer) gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
GstAudioRingBufferClass * g_class)
{ {
ringbuffer->running = FALSE; ringbuffer->running = FALSE;
ringbuffer->queuedseg = 0; ringbuffer->queuedseg = 0;
@ -456,7 +458,7 @@ gst_audio_sink_class_init (GstAudioSinkClass * klass)
} }
static void static void
gst_audio_sink_init (GstAudioSink * audiosink) gst_audio_sink_init (GstAudioSink * audiosink, GstAudioSinkClass * g_class)
{ {
} }

View file

@ -64,7 +64,8 @@ struct _GstAudioRingBufferClass
}; };
static void gst_audioringbuffer_class_init (GstAudioRingBufferClass * klass); static void gst_audioringbuffer_class_init (GstAudioRingBufferClass * klass);
static void gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer); static void gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
GstAudioRingBufferClass * klass);
static void gst_audioringbuffer_dispose (GObject * object); static void gst_audioringbuffer_dispose (GObject * object);
static void gst_audioringbuffer_finalize (GObject * object); static void gst_audioringbuffer_finalize (GObject * object);
@ -218,7 +219,8 @@ stop_running:
} }
static void static void
gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer) gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
GstAudioRingBufferClass * g_class)
{ {
ringbuffer->running = FALSE; ringbuffer->running = FALSE;
ringbuffer->queuedseg = 0; ringbuffer->queuedseg = 0;
@ -454,7 +456,7 @@ gst_audio_src_class_init (GstAudioSrcClass * klass)
} }
static void static void
gst_audio_src_init (GstAudioSrc * audiosrc) gst_audio_src_init (GstAudioSrc * audiosrc, GstAudioSrcClass * g_class)
{ {
gst_base_src_set_live (GST_BASE_SRC (audiosrc), TRUE); gst_base_src_set_live (GST_BASE_SRC (audiosrc), TRUE);
} }

View file

@ -123,7 +123,8 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
} }
static void static void
gst_base_audio_sink_init (GstBaseAudioSink * baseaudiosink) gst_base_audio_sink_init (GstBaseAudioSink * baseaudiosink,
GstBaseAudioSinkClass * g_class)
{ {
baseaudiosink->buffer_time = DEFAULT_BUFFER_TIME; baseaudiosink->buffer_time = DEFAULT_BUFFER_TIME;
baseaudiosink->latency_time = DEFAULT_LATENCY_TIME; baseaudiosink->latency_time = DEFAULT_LATENCY_TIME;

View file

@ -119,7 +119,8 @@ gst_base_audio_src_class_init (GstBaseAudioSrcClass * klass)
} }
static void static void
gst_base_audio_src_init (GstBaseAudioSrc * baseaudiosrc) gst_base_audio_src_init (GstBaseAudioSrc * baseaudiosrc,
GstBaseAudioSrcClass * g_class)
{ {
baseaudiosrc->buffer_time = DEFAULT_BUFFER_TIME; baseaudiosrc->buffer_time = DEFAULT_BUFFER_TIME;
baseaudiosrc->latency_time = DEFAULT_LATENCY_TIME; baseaudiosrc->latency_time = DEFAULT_LATENCY_TIME;

View file

@ -59,9 +59,6 @@ static GstElementDetails audio_convert_details = {
}; };
/* type functions */ /* type functions */
static void gst_audio_convert_base_init (gpointer g_class);
static void gst_audio_convert_class_init (GstAudioConvertClass * klass);
static void gst_audio_convert_init (GstAudioConvert * audio_convert);
static void gst_audio_convert_dispose (GObject * obj); static void gst_audio_convert_dispose (GObject * obj);
/* gstreamer functions */ /* gstreamer functions */
@ -195,7 +192,7 @@ gst_audio_convert_class_init (GstAudioConvertClass * klass)
} }
static void static void
gst_audio_convert_init (GstAudioConvert * this) gst_audio_convert_init (GstAudioConvert * this, GstAudioConvertClass * g_class)
{ {
} }

View file

@ -80,9 +80,6 @@ GST_STATIC_CAPS ( \
GST_STATIC_PAD_TEMPLATE ("src", GST_STATIC_PAD_TEMPLATE ("src",
GST_PAD_SRC, GST_PAD_ALWAYS, SUPPORTED_CAPS); GST_PAD_SRC, GST_PAD_ALWAYS, SUPPORTED_CAPS);
static void gst_audioresample_base_init (gpointer g_class);
static void gst_audioresample_class_init (GstAudioresampleClass * klass);
static void gst_audioresample_init (GstAudioresample * audioresample);
static void gst_audioresample_dispose (GObject * object); static void gst_audioresample_dispose (GObject * object);
static void gst_audioresample_set_property (GObject * object, static void gst_audioresample_set_property (GObject * object,
@ -150,7 +147,8 @@ static void gst_audioresample_class_init (GstAudioresampleClass * klass)
GST_DEBUG_FUNCPTR (audioresample_transform); GST_DEBUG_FUNCPTR (audioresample_transform);
} }
static void gst_audioresample_init (GstAudioresample * audioresample) static void gst_audioresample_init (GstAudioresample * audioresample,
GstAudioresampleClass * klass)
{ {
ResampleState *r; ResampleState *r;

View file

@ -137,7 +137,8 @@ gst_videotestsrc_class_init (GstVideoTestSrcClass * klass)
} }
static void static void
gst_videotestsrc_init (GstVideoTestSrc * videotestsrc) gst_videotestsrc_init (GstVideoTestSrc * videotestsrc,
GstVideoTestSrcClass * g_class)
{ {
gst_videotestsrc_set_pattern (videotestsrc, GST_VIDEOTESTSRC_SMPTE); gst_videotestsrc_set_pattern (videotestsrc, GST_VIDEOTESTSRC_SMPTE);

View file

@ -279,7 +279,7 @@ gst_volume_class_init (GstVolumeClass * klass)
} }
static void static void
gst_volume_init (GstVolume * this) gst_volume_init (GstVolume * this, GstVolumeClass * g_class)
{ {
GstMixerTrack *track = NULL; GstMixerTrack *track = NULL;

View file

@ -352,7 +352,7 @@ gst_v4lelement_class_init (GstV4lElementClass * klass)
static void static void
gst_v4lelement_init (GstV4lElement * v4lelement) gst_v4lelement_init (GstV4lElement * v4lelement, GstV4lElementClass * klass)
{ {
/* some default values */ /* some default values */
v4lelement->video_fd = -1; v4lelement->video_fd = -1;

View file

@ -124,7 +124,7 @@ gst_v4lsrc_class_init (GstV4lSrcClass * klass)
} }
static void static void
gst_v4lsrc_init (GstV4lSrc * v4lsrc) gst_v4lsrc_init (GstV4lSrc * v4lsrc, GstV4lSrcClass * klass)
{ {
v4lsrc->buffer_size = 0; v4lsrc->buffer_size = 0;