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:
* gst/level/gstlevel.h:
Fix more broken GObject macros
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;
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;
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;
}
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;
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),
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");
}
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;
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;
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;
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",
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;
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;
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",
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;
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);
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;
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",
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;
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;
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");
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;
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;
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
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
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
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 */
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");
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;
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;
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",
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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");
}
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);
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);
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",
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,
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;
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_sunaudiosink_dispose;
gobject_class->set_property =