Commit b5af832d authored by Stefan Kost's avatar Stefan Kost

Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/aalib/gstaasink.c: (gst_aasink_class_init):
* ext/esd/esdsink.c: (gst_esdsink_class_init):
* ext/flac/gstflactag.c: (gst_flac_tag_class_init):
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_class_init):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_class_init):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init):
* ext/libcaca/gstcacasink.c: (gst_cacasink_class_init):
* ext/libmng/gstmngdec.c: (gst_mngdec_class_init):
* ext/libmng/gstmngenc.c: (gst_mngenc_class_init):
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init):
* ext/libpng/gstpngenc.c: (gst_pngenc_class_init):
* ext/mikmod/gstmikmod.c: (gst_mikmod_class_init):
* ext/shout2/gstshout2.c: (gst_shout2send_class_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init):
* gst/alpha/gstalpha.c: (gst_alpha_class_init):
* gst/avi/gstavimux.c: (gst_avimux_class_init):
* gst/debug/efence.c: (gst_efence_class_init):
* gst/debug/negotiation.c: (gst_negotiation_class_init):
* gst/flx/gstflxdec.c: (gst_flxdec_class_init):
* gst/goom/gstgoom.c: (gst_goom_class_init):
* gst/id3demux/gstid3demux.c: (gst_id3demux_class_init):
* gst/interleave/deinterleave.c: (deinterleave_class_init):
* gst/interleave/interleave.c: (interleave_class_init):
* gst/law/alaw-decode.c: (gst_alawdec_class_init):
* gst/law/alaw-encode.c: (gst_alawenc_class_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_class_init):
* gst/median/gstmedian.c: (gst_median_class_init):
* gst/monoscope/gstmonoscope.c: (gst_monoscope_class_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init):
* gst/rtp/gstasteriskh263.c: (gst_asteriskh263_class_init):
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_class_init):
* gst/rtp/gstrtpL16pay.c: (gst_rtpL16pay_class_init):
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_class_init):
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_class_init):
* gst/rtp/gstrtpdepay.c: (gst_rtp_depay_class_init):
* gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_class_init):
* gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_class_init):
* gst/rtp/gstrtph263pay.c: (gst_rtp_h263_pay_class_init):
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_class_init):
* gst/rtp/gstrtph263ppay.c: (gst_rtp_h263p_pay_class_init):
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_class_init):
* gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_class_init):
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_class_init):
* gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_class_init):
* gst/rtp/gstrtpmpapay.c: (gst_rtp_mpa_pay_class_init):
* gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_class_init):
* gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_class_init):
* gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_class_init):
* gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_class_init):
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_class_init):
* gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init):
* gst/rtsp/gstrtpdec.c: (gst_rtpdec_class_init):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init):
* gst/smpte/gstsmpte.c: (gst_smpte_class_init):
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init):
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init):
* gst/udp/gstudpsink.c: (gst_udpsink_class_init):
* gst/videomixer/videomixer.c: (gst_videomixer_class_init):
* gst/wavenc/gstwavenc.c: (gst_wavenc_class_init):
* sys/oss/gstossdmabuffer.c: (gst_ossdmabuffer_class_init):
* sys/oss/gstosssink.c: (gst_oss_sink_class_init):
* sys/osxaudio/gstosxaudioelement.c:
(gst_osxaudioelement_class_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_class_init):
* sys/osxaudio/gstosxaudiosrc.c: (gst_osxaudiosrc_class_init):
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
parent bdb14e66
2006-04-08 Stefan Kost <ensonic@users.sf.net>
* ext/aalib/gstaasink.c: (gst_aasink_class_init):
* ext/esd/esdsink.c: (gst_esdsink_class_init):
* ext/flac/gstflactag.c: (gst_flac_tag_class_init):
* ext/gdk_pixbuf/gstgdkpixbuf.c: (gst_gdk_pixbuf_class_init):
* ext/jpeg/gstjpegenc.c: (gst_jpegenc_class_init):
* ext/jpeg/gstsmokedec.c: (gst_smokedec_class_init):
* ext/jpeg/gstsmokeenc.c: (gst_smokeenc_class_init):
* ext/libcaca/gstcacasink.c: (gst_cacasink_class_init):
* ext/libmng/gstmngdec.c: (gst_mngdec_class_init):
* ext/libmng/gstmngenc.c: (gst_mngenc_class_init):
* ext/libpng/gstpngdec.c: (gst_pngdec_class_init):
* ext/libpng/gstpngenc.c: (gst_pngenc_class_init):
* ext/mikmod/gstmikmod.c: (gst_mikmod_class_init):
* ext/shout2/gstshout2.c: (gst_shout2send_class_init):
* ext/speex/gstspeexenc.c: (gst_speexenc_class_init):
* gst/alpha/gstalpha.c: (gst_alpha_class_init):
* gst/avi/gstavimux.c: (gst_avimux_class_init):
* gst/debug/efence.c: (gst_efence_class_init):
* gst/debug/negotiation.c: (gst_negotiation_class_init):
* gst/flx/gstflxdec.c: (gst_flxdec_class_init):
* gst/goom/gstgoom.c: (gst_goom_class_init):
* gst/id3demux/gstid3demux.c: (gst_id3demux_class_init):
* gst/interleave/deinterleave.c: (deinterleave_class_init):
* gst/interleave/interleave.c: (interleave_class_init):
* gst/law/alaw-decode.c: (gst_alawdec_class_init):
* gst/law/alaw-encode.c: (gst_alawenc_class_init):
* gst/law/mulaw-encode.c: (gst_mulawenc_class_init):
* gst/median/gstmedian.c: (gst_median_class_init):
* gst/monoscope/gstmonoscope.c: (gst_monoscope_class_init):
* gst/multipart/multipartmux.c: (gst_multipart_mux_class_init):
* gst/rtp/gstasteriskh263.c: (gst_asteriskh263_class_init):
* gst/rtp/gstrtpL16depay.c: (gst_rtp_L16depay_class_init):
* gst/rtp/gstrtpL16pay.c: (gst_rtpL16pay_class_init):
* gst/rtp/gstrtpamrdepay.c: (gst_rtp_amr_depay_class_init):
* gst/rtp/gstrtpamrpay.c: (gst_rtp_amr_pay_class_init):
* gst/rtp/gstrtpdepay.c: (gst_rtp_depay_class_init):
* gst/rtp/gstrtpgsmdepay.c: (gst_rtp_gsm_depay_class_init):
* gst/rtp/gstrtpgsmpay.c: (gst_rtp_gsm_pay_class_init):
* gst/rtp/gstrtph263pay.c: (gst_rtp_h263_pay_class_init):
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_class_init):
* gst/rtp/gstrtph263ppay.c: (gst_rtp_h263p_pay_class_init):
* gst/rtp/gstrtpmp4gpay.c: (gst_rtp_mp4g_pay_class_init):
* gst/rtp/gstrtpmp4vdepay.c: (gst_rtp_mp4v_depay_class_init):
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_class_init):
* gst/rtp/gstrtpmpadepay.c: (gst_rtp_mpa_depay_class_init):
* gst/rtp/gstrtpmpapay.c: (gst_rtp_mpa_pay_class_init):
* gst/rtp/gstrtppcmadepay.c: (gst_rtp_pcma_depay_class_init):
* gst/rtp/gstrtppcmapay.c: (gst_rtp_pcma_pay_class_init):
* gst/rtp/gstrtppcmudepay.c: (gst_rtp_pcmu_depay_class_init):
* gst/rtp/gstrtppcmupay.c: (gst_rtp_pcmu_pay_class_init):
* gst/rtp/gstrtpspeexdepay.c: (gst_rtp_speex_depay_class_init):
* gst/rtp/gstrtpspeexpay.c: (gst_rtp_speex_pay_class_init):
* gst/rtsp/gstrtpdec.c: (gst_rtpdec_class_init):
* gst/rtsp/gstrtspsrc.c: (gst_rtspsrc_class_init):
* gst/smpte/gstsmpte.c: (gst_smpte_class_init):
* gst/udp/gstdynudpsink.c: (gst_dynudpsink_class_init):
* gst/udp/gstmultiudpsink.c: (gst_multiudpsink_class_init):
* gst/udp/gstudpsink.c: (gst_udpsink_class_init):
* gst/videomixer/videomixer.c: (gst_videomixer_class_init):
* gst/wavenc/gstwavenc.c: (gst_wavenc_class_init):
* sys/oss/gstossdmabuffer.c: (gst_ossdmabuffer_class_init):
* sys/oss/gstosssink.c: (gst_oss_sink_class_init):
* sys/osxaudio/gstosxaudioelement.c:
(gst_osxaudioelement_class_init):
* sys/osxaudio/gstosxaudiosink.c: (gst_osxaudiosink_class_init):
* sys/osxaudio/gstosxaudiosrc.c: (gst_osxaudiosrc_class_init):
* sys/sunaudio/gstsunaudiosink.c: (gst_sunaudiosink_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2006-04-08 Stefan Kost <ensonic@users.sf.net>
* ext/mikmod/gstmikmod.h:
......
......@@ -197,7 +197,7 @@ gst_aasink_class_init (GstAASinkClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_aasink_set_property;
gobject_class->get_property = gst_aasink_get_property;
......
......@@ -135,7 +135,7 @@ gst_esdsink_class_init (GstEsdSinkClass * klass)
gstbaseaudiosink_class = (GstBaseAudioSinkClass *) klass;
gstaudiosink_class = (GstAudioSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_AUDIO_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_esdsink_finalize;
......
......@@ -232,7 +232,7 @@ gst_flac_tag_class_init (GstFlacTagClass * klass)
gstelement_class = (GstElementClass *) klass;
gobject_class = (GObjectClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_flac_tag_change_state;
}
......
......@@ -210,7 +210,7 @@ gst_gdk_pixbuf_class_init (GstGdkPixbufClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_gdk_pixbuf_set_property;
gobject_class->get_property = gst_gdk_pixbuf_get_property;
......
......@@ -151,7 +151,7 @@ gst_jpegenc_class_init (GstJpegEnc * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gst_jpegenc_signals[FRAME_ENCODED] =
g_signal_new ("frame-encoded", G_TYPE_FROM_CLASS (klass),
......
......@@ -118,7 +118,7 @@ gst_smokedec_class_init (GstSmokeDec * klass)
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
GST_DEBUG_CATEGORY_INIT (smokedec_debug, "smokedec", 0, "Smoke decoder");
}
......
......@@ -139,7 +139,7 @@ gst_smokeenc_class_init (GstSmokeEnc * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_smokeenc_set_property;
gobject_class->get_property = gst_smokeenc_get_property;
......
......@@ -143,7 +143,7 @@ gst_cacasink_class_init (GstCACASinkClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_cacasink_set_property;
gobject_class->get_property = gst_cacasink_get_property;
......
......@@ -120,7 +120,7 @@ gst_mngdec_class_init (GstMngDecClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_mngdec_change_state;
......
......@@ -133,7 +133,7 @@ gst_mngenc_class_init (GstMngEncClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (gobject_class, ARG_SNAPSHOT,
g_param_spec_boolean ("snapshot", "Snapshot",
......
......@@ -115,7 +115,7 @@ gst_pngdec_class_init (GstPngDecClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_pngdec_change_state;
......
......@@ -116,7 +116,7 @@ gst_pngenc_class_init (GstPngEncClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->get_property = gst_pngenc_get_property;
gobject_class->set_property = gst_pngenc_set_property;
......
......@@ -151,7 +151,7 @@ gst_mikmod_class_init (GstMikModClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SONGNAME,
g_param_spec_string ("songname", "songname", "songname",
......
......@@ -167,7 +167,7 @@ gst_shout2send_class_init (GstShout2sendClass * klass)
gobject_class = (GObjectClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_shout2send_set_property;
gobject_class->get_property = gst_shout2send_get_property;
......
......@@ -229,7 +229,7 @@ gst_speexenc_class_init (GstSpeexEncClass * klass)
g_param_spec_string ("last-message", "last-message",
"The last status message", NULL, G_PARAM_READABLE));
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_speexenc_finalize);
......
......@@ -235,7 +235,7 @@ gst_alpha_class_init (GstAlphaClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_alpha_set_property;
gobject_class->get_property = gst_alpha_get_property;
......
......@@ -222,7 +222,7 @@ gst_avimux_class_init (GstAviMuxClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BIGFILE,
g_param_spec_boolean ("bigfile", "Bigfile Support",
......
......@@ -160,7 +160,7 @@ gst_efence_class_init (GstEFenceClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_efence_set_property;
gobject_class->get_property = gst_efence_get_property;
......
......@@ -162,7 +162,7 @@ gst_negotiation_class_init (GstNegotiationClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_negotiation_set_property;
gobject_class->get_property = gst_negotiation_get_property;
......
......@@ -138,7 +138,7 @@ gst_flxdec_class_init (GstFlxDecClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
GST_DEBUG_CATEGORY_INIT (flxdec_debug, "flxdec", 0, "FLX video decoder");
......
......@@ -142,7 +142,7 @@ gst_goom_class_init (GstGoomClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = gst_goom_dispose;
......
......@@ -163,7 +163,7 @@ gst_id3demux_class_init (GstID3DemuxClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = gst_id3demux_dispose;
......
......@@ -205,7 +205,7 @@ gst_alawdec_base_init (GstALawDecClass * klass)
static void
gst_alawdec_class_init (GstALawDecClass * klass)
{
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
}
static void
......
......@@ -241,7 +241,7 @@ gst_alawenc_base_init (GstALawEncClass * klass)
static void
gst_alawenc_class_init (GstALawEncClass * klass)
{
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
}
static void
......
......@@ -175,7 +175,7 @@ gst_mulawenc_base_init (GstMuLawEncClass * klass)
static void
gst_mulawenc_class_init (GstMuLawEncClass * klass)
{
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
}
static void
......
......@@ -124,7 +124,7 @@ gst_median_class_init (GstMedianClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ACTIVE, g_param_spec_boolean ("active", "active", "active", TRUE, G_PARAM_READWRITE)); /* CHECKME */
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_FILTERSIZE, g_param_spec_int ("filtersize", "filtersize", "filtersize", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */
......
......@@ -180,7 +180,7 @@ gst_monoscope_class_init (GstMonoscopeClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
GST_DEBUG_CATEGORY_INIT (monoscope_debug, "monoscope", 0,
"monoscope element");
......
......@@ -198,7 +198,7 @@ gst_multipart_mux_class_init (GstMultipartMuxClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_multipart_mux_finalize;
gobject_class->get_property = gst_multipart_mux_get_property;
......
......@@ -143,7 +143,7 @@ gst_asteriskh263_class_init (GstAsteriskh263Class * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_asteriskh263_finalize;
......
......@@ -120,7 +120,7 @@ gst_rtp_L16depay_class_init (GstRtpL16DepayClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PAYLOAD_TYPE,
g_param_spec_int ("payload_type", "payload_type", "payload type",
......
......@@ -124,7 +124,7 @@ gst_rtpL16pay_class_init (GstRtpL16PayClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_rtpL16pay_set_property;
gobject_class->get_property = gst_rtpL16pay_get_property;
......
......@@ -146,7 +146,7 @@ gst_rtp_amr_depay_class_init (GstRtpAMRDepayClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_rtp_amr_depay_set_property;
gobject_class->get_property = gst_rtp_amr_depay_get_property;
......
......@@ -126,7 +126,7 @@ gst_rtp_amr_pay_class_init (GstRtpAMRPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertppayload_class->set_caps = gst_rtp_amr_pay_setcaps;
gstbasertppayload_class->handle_buffer = gst_rtp_amr_pay_handle_buffer;
......
......@@ -142,7 +142,7 @@ gst_rtp_depay_class_init (gpointer g_class)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SKIP, g_param_spec_int ("skip", "skip", "skip", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_rtp_depay_change_state;
......
......@@ -83,7 +83,7 @@ gst_rtp_gsm_depay_class_init (GstRTPGSMDepayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertp_depayload_class = (GstBaseRTPDepayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertp_depayload_class->process = gst_rtp_gsm_depay_process;
gstbasertp_depayload_class->set_caps = gst_rtp_gsm_depay_setcaps;
......
......@@ -83,7 +83,7 @@ gst_rtp_gsm_pay_class_init (GstRTPGSMPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertppayload_class->set_caps = gst_rtp_gsm_pay_setcaps;
gstbasertppayload_class->handle_buffer = gst_rtp_gsm_pay_handle_buffer;
......
......@@ -223,7 +223,7 @@ gst_rtp_h263_pay_class_init (GstRtpH263PayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_rtp_h263_pay_finalize;
......
......@@ -99,7 +99,7 @@ gst_rtp_h263p_depay_class_init (GstRtpH263PDepayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertpdepayload_class->process = gst_rtp_h263p_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_h263p_depay_setcaps;
......
......@@ -107,7 +107,7 @@ gst_rtp_h263p_pay_class_init (GstRtpH263PPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_rtp_h263p_pay_finalize;
......
......@@ -143,7 +143,7 @@ gst_rtp_mp4g_pay_class_init (GstRtpMP4GPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_rtp_mp4g_pay_set_property;
gobject_class->get_property = gst_rtp_mp4g_pay_get_property;
......
......@@ -106,7 +106,7 @@ gst_rtp_mp4v_depay_class_init (GstRtpMP4VDepayClass * klass)
gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertpdepayload_class->process = gst_rtp_mp4v_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_mp4v_depay_setcaps;
......
......@@ -131,7 +131,7 @@ gst_rtp_mp4v_pay_class_init (GstRtpMP4VPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_rtp_mp4v_pay_set_property;
gobject_class->get_property = gst_rtp_mp4v_pay_get_property;
......
......@@ -121,7 +121,7 @@ gst_rtp_mpa_depay_class_init (GstRtpMPADepayClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_rtp_mpa_depay_set_property;
gobject_class->get_property = gst_rtp_mpa_depay_get_property;
......
......@@ -107,7 +107,7 @@ gst_rtp_mpa_pay_class_init (GstRtpMPAPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_rtp_mpa_pay_finalize;
......
......@@ -88,7 +88,7 @@ gst_rtp_pcma_depay_class_init (GstRtpPcmaDepayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertpdepayload_class->process = gst_rtp_pcma_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_pcma_depay_setcaps;
......
......@@ -85,7 +85,7 @@ gst_rtp_pcma_pay_class_init (GstRtpPmcaPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_rtp_pcma_pay_finalize;
gstbasertppayload_class->set_caps = gst_rtp_pcma_pay_setcaps;
......
......@@ -89,7 +89,7 @@ gst_rtp_pcmu_depay_class_init (GstRtpPcmuDepayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertpdepayload_class->process = gst_rtp_pcmu_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_pcmu_depay_setcaps;
......
......@@ -85,7 +85,7 @@ gst_rtp_pcmu_pay_class_init (GstRtpPcmuPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gobject_class->finalize = gst_rtp_pcmu_pay_finalize;
gstbasertppayload_class->set_caps = gst_rtp_pcmu_pay_setcaps;
......
......@@ -88,7 +88,7 @@ gst_rtp_speex_depay_class_init (GstRtpSPEEXDepayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertpdepayload_class = (GstBaseRTPDepayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_DEPAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertpdepayload_class->process = gst_rtp_speex_depay_process;
gstbasertpdepayload_class->set_caps = gst_rtp_speex_depay_setcaps;
......
......@@ -79,7 +79,7 @@ gst_rtp_speex_pay_class_init (GstRtpSPEEXPayClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasertppayload_class = (GstBaseRTPPayloadClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_RTP_PAYLOAD);
parent_class = g_type_class_peek_parent (klass);
gstbasertppayload_class->set_caps = gst_rtp_speex_pay_setcaps;
gstbasertppayload_class->handle_buffer = gst_rtp_speex_pay_handle_buffer;
......
......@@ -139,7 +139,7 @@ gst_rtpdec_class_init (gpointer g_class)
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_SKIP, g_param_spec_int ("skip", "skip", "skip", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gstelement_class->change_state = gst_rtpdec_change_state;
......
......@@ -168,7 +168,7 @@ gst_rtspsrc_class_init (GstRTSPSrc * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_rtspsrc_set_property;
gobject_class->get_property = gst_rtspsrc_get_property;
......
......@@ -170,7 +170,7 @@ gst_smpte_class_init (GstSMPTEClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_smpte_set_property;
gobject_class->get_property = gst_smpte_get_property;
......
......@@ -127,7 +127,7 @@ gst_dynudpsink_class_init (GstDynUDPSink * klass)
gstelement_class = (GstElementClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_dynudpsink_set_property;
gobject_class->get_property = gst_dynudpsink_get_property;
......
......@@ -144,7 +144,7 @@ gst_multiudpsink_class_init (GstMultiUDPSinkClass * klass)
gstelement_class = (GstElementClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_multiudpsink_set_property;
gobject_class->get_property = gst_multiudpsink_get_property;
......
......@@ -118,7 +118,7 @@ gst_udpsink_class_init (GstUDPSink * klass)
gstelement_class = (GstElementClass *) klass;
gstbasesink_class = (GstBaseSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_MULTIUDPSINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->set_property = gst_udpsink_set_property;
gobject_class->get_property = gst_udpsink_get_property;
......
......@@ -524,7 +524,7 @@ gst_videomixer_class_init (GstVideoMixerClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->get_property = gst_videomixer_get_property;
gobject_class->set_property = gst_videomixer_set_property;
......
......@@ -183,7 +183,7 @@ gst_wavenc_class_init (GstWavEncClass * klass)
element_class->change_state = gst_wavenc_change_state;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
GST_DEBUG_CATEGORY_INIT (wavenc_debug, "wavenc", 0, "WAV encoder element");
}
......
......@@ -101,7 +101,7 @@ gst_ossdmabuffer_class_init (GstOssDMABufferClass * klass)
gstobject_class = (GstObjectClass *) klass;
gstringbuffer_class = (GstRingBufferClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_RINGBUFFER);
parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_dispose);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_ossdmabuffer_finalize);
......
......@@ -178,7 +178,7 @@ gst_oss_sink_class_init (GstOssSinkClass * klass)
gstbaseaudiosink_class = (GstBaseAudioSinkClass *) klass;
gstaudiosink_class = (GstAudioSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_AUDIO_SINK);
parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = GST_DEBUG_FUNCPTR (gst_oss_sink_dispose);
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_oss_sink_finalise);
......
......@@ -106,7 +106,7 @@ gst_osxaudioelement_class_init (GstOsxAudioElementClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
parent_class = g_type_class_peek_parent (klass);
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_DEVICE,
g_param_spec_int ("device", "Device index",
......
......@@ -121,7 +121,7 @@ gst_osxaudiosink_class_init (GstOsxAudioSinkClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_OSXAUDIOELEMENT);
parent_class = g_type_class_peek_parent (klass);
gst_osssink_signals[SIGNAL_HANDOFF] =
g_signal_new ("handoff", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST,
......
......@@ -114,7 +114,7 @@ gst_osxaudiosrc_class_init (GstOsxAudioSrcClass * klass)
gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_OSXAUDIOELEMENT);
parent_class = g_type_class_peek_parent (klass);
gobject_class->dispose = gst_osxaudiosrc_dispose;
......
......@@ -151,7 +151,7 @@ gst_sunaudiosink_class_init (GstSunAudioSinkClass * klass)
gstbaseaudiosink_class = (GstBaseAudioSinkClass *) klass;
gstaudiosink_class = (GstAudioSinkClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_BASE_AUDIO_SINK);
parent_class = g_type_class_peek_parent (klass);