mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
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:
parent
b6c368ce67
commit
c32721723b
18 changed files with 35 additions and 27 deletions
|
@ -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>
|
||||
|
||||
* gst/audioconvert/audioconvert.c: (if), (float),
|
||||
|
|
|
@ -59,7 +59,8 @@ gst_alsa_mixer_element_class_init (GstAlsaMixerElementClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_alsa_mixer_element_init (GstAlsaMixerElement * this)
|
||||
gst_alsa_mixer_element_init (GstAlsaMixerElement * this,
|
||||
GstAlsaMixerElementClass * klass)
|
||||
{
|
||||
this->mixer = NULL;
|
||||
}
|
||||
|
|
|
@ -108,6 +108,7 @@ gst_alsasrc_base_init (gpointer g_class)
|
|||
gst_element_class_add_pad_template (element_class,
|
||||
gst_static_pad_template_get (&alsasrc_src_factory));
|
||||
}
|
||||
|
||||
static void
|
||||
gst_alsasrc_class_init (GstAlsaSrcClass * klass)
|
||||
{
|
||||
|
@ -198,7 +199,7 @@ gst_alsasrc_get_property (GObject * object, guint prop_id,
|
|||
}
|
||||
|
||||
static void
|
||||
gst_alsasrc_init (GstAlsaSrc * alsasrc)
|
||||
gst_alsasrc_init (GstAlsaSrc * alsasrc, GstAlsaSrcClass * g_class)
|
||||
{
|
||||
GST_DEBUG ("initializing alsasrc");
|
||||
|
||||
|
|
|
@ -1082,7 +1082,7 @@ gst_ogg_demux_class_init (GstOggDemuxClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_ogg_demux_init (GstOggDemux * ogg)
|
||||
gst_ogg_demux_init (GstOggDemux * ogg, GstOggDemuxClass * g_class)
|
||||
{
|
||||
/* create the sink pad */
|
||||
ogg->sinkpad =
|
||||
|
|
|
@ -172,7 +172,7 @@ gst_theora_dec_class_init (GstTheoraDecClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_theora_dec_init (GstTheoraDec * dec)
|
||||
gst_theora_dec_init (GstTheoraDec * dec, GstTheoraDecClass * g_class)
|
||||
{
|
||||
dec->sinkpad =
|
||||
gst_pad_new_from_template (gst_static_pad_template_get
|
||||
|
|
|
@ -256,7 +256,7 @@ gst_theora_enc_class_init (GstTheoraEncClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_theora_enc_init (GstTheoraEnc * enc)
|
||||
gst_theora_enc_init (GstTheoraEnc * enc, GstTheoraEncClass * g_class)
|
||||
{
|
||||
enc->sinkpad =
|
||||
gst_pad_new_from_template (gst_static_pad_template_get
|
||||
|
|
|
@ -158,7 +158,7 @@ vorbis_get_query_types (GstPad * pad)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_vorbis_dec_init (GstVorbisDec * dec)
|
||||
gst_vorbis_dec_init (GstVorbisDec * dec, GstVorbisDecClass * g_class)
|
||||
{
|
||||
dec->sinkpad =
|
||||
gst_pad_new_from_template (gst_static_pad_template_get
|
||||
|
|
|
@ -86,7 +86,7 @@ gst_vorbis_parse_class_init (GstVorbisParseClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_vorbis_parse_init (GstVorbisParse * parse)
|
||||
gst_vorbis_parse_init (GstVorbisParse * parse, GstVorbisParseClass * g_class)
|
||||
{
|
||||
parse->sinkpad =
|
||||
gst_pad_new_from_template (gst_static_pad_template_get
|
||||
|
|
|
@ -64,7 +64,8 @@ struct _GstAudioRingBufferClass
|
|||
};
|
||||
|
||||
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_finalize (GObject * object);
|
||||
|
||||
|
@ -221,7 +222,8 @@ stop_running:
|
|||
}
|
||||
|
||||
static void
|
||||
gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer)
|
||||
gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
|
||||
GstAudioRingBufferClass * g_class)
|
||||
{
|
||||
ringbuffer->running = FALSE;
|
||||
ringbuffer->queuedseg = 0;
|
||||
|
@ -456,7 +458,7 @@ gst_audio_sink_class_init (GstAudioSinkClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_audio_sink_init (GstAudioSink * audiosink)
|
||||
gst_audio_sink_init (GstAudioSink * audiosink, GstAudioSinkClass * g_class)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -64,7 +64,8 @@ struct _GstAudioRingBufferClass
|
|||
};
|
||||
|
||||
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_finalize (GObject * object);
|
||||
|
||||
|
@ -218,7 +219,8 @@ stop_running:
|
|||
}
|
||||
|
||||
static void
|
||||
gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer)
|
||||
gst_audioringbuffer_init (GstAudioRingBuffer * ringbuffer,
|
||||
GstAudioRingBufferClass * g_class)
|
||||
{
|
||||
ringbuffer->running = FALSE;
|
||||
ringbuffer->queuedseg = 0;
|
||||
|
@ -454,7 +456,7 @@ gst_audio_src_class_init (GstAudioSrcClass * klass)
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
|
@ -123,7 +123,8 @@ gst_base_audio_sink_class_init (GstBaseAudioSinkClass * klass)
|
|||
}
|
||||
|
||||
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->latency_time = DEFAULT_LATENCY_TIME;
|
||||
|
|
|
@ -119,7 +119,8 @@ gst_base_audio_src_class_init (GstBaseAudioSrcClass * klass)
|
|||
}
|
||||
|
||||
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->latency_time = DEFAULT_LATENCY_TIME;
|
||||
|
|
|
@ -59,9 +59,6 @@ static GstElementDetails audio_convert_details = {
|
|||
};
|
||||
|
||||
/* 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);
|
||||
|
||||
/* gstreamer functions */
|
||||
|
@ -195,7 +192,7 @@ gst_audio_convert_class_init (GstAudioConvertClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_audio_convert_init (GstAudioConvert * this)
|
||||
gst_audio_convert_init (GstAudioConvert * this, GstAudioConvertClass * g_class)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
@ -80,9 +80,6 @@ GST_STATIC_CAPS ( \
|
|||
GST_STATIC_PAD_TEMPLATE ("src",
|
||||
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_set_property (GObject * object,
|
||||
|
@ -150,7 +147,8 @@ static void gst_audioresample_class_init (GstAudioresampleClass * klass)
|
|||
GST_DEBUG_FUNCPTR (audioresample_transform);
|
||||
}
|
||||
|
||||
static void gst_audioresample_init (GstAudioresample * audioresample)
|
||||
static void gst_audioresample_init (GstAudioresample * audioresample,
|
||||
GstAudioresampleClass * klass)
|
||||
{
|
||||
ResampleState *r;
|
||||
|
||||
|
|
|
@ -137,7 +137,8 @@ gst_videotestsrc_class_init (GstVideoTestSrcClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_videotestsrc_init (GstVideoTestSrc * videotestsrc)
|
||||
gst_videotestsrc_init (GstVideoTestSrc * videotestsrc,
|
||||
GstVideoTestSrcClass * g_class)
|
||||
{
|
||||
gst_videotestsrc_set_pattern (videotestsrc, GST_VIDEOTESTSRC_SMPTE);
|
||||
|
||||
|
|
|
@ -279,7 +279,7 @@ gst_volume_class_init (GstVolumeClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_volume_init (GstVolume * this)
|
||||
gst_volume_init (GstVolume * this, GstVolumeClass * g_class)
|
||||
{
|
||||
GstMixerTrack *track = NULL;
|
||||
|
||||
|
|
|
@ -352,7 +352,7 @@ gst_v4lelement_class_init (GstV4lElementClass * klass)
|
|||
|
||||
|
||||
static void
|
||||
gst_v4lelement_init (GstV4lElement * v4lelement)
|
||||
gst_v4lelement_init (GstV4lElement * v4lelement, GstV4lElementClass * klass)
|
||||
{
|
||||
/* some default values */
|
||||
v4lelement->video_fd = -1;
|
||||
|
|
|
@ -124,7 +124,7 @@ gst_v4lsrc_class_init (GstV4lSrcClass * klass)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_v4lsrc_init (GstV4lSrc * v4lsrc)
|
||||
gst_v4lsrc_init (GstV4lSrc * v4lsrc, GstV4lSrcClass * klass)
|
||||
{
|
||||
v4lsrc->buffer_size = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue