diff options
Diffstat (limited to 'gst')
31 files changed, 32 insertions, 31 deletions
diff --git a/gst/cdxaparse/gstcdxastrip.c b/gst/cdxaparse/gstcdxastrip.c index 895acf4c..3ef718fa 100644 --- a/gst/cdxaparse/gstcdxastrip.c +++ b/gst/cdxaparse/gstcdxastrip.c @@ -105,7 +105,7 @@ gst_cdxastrip_class_init (GstCDXAStripClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); element_class->change_state = gst_cdxastrip_change_state; } diff --git a/gst/cdxaparse/gstvcdparse.c b/gst/cdxaparse/gstvcdparse.c index 895acf4c..3ef718fa 100644 --- a/gst/cdxaparse/gstvcdparse.c +++ b/gst/cdxaparse/gstvcdparse.c @@ -105,7 +105,7 @@ gst_cdxastrip_class_init (GstCDXAStripClass * klass) { GstElementClass *element_class = GST_ELEMENT_CLASS (klass); - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); element_class->change_state = gst_cdxastrip_change_state; } diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index af6fd9c6..397fc93d 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -162,7 +162,7 @@ gst_chart_class_init (GstChartClass * 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_chart_set_property; gobject_class->get_property = gst_chart_get_property; diff --git a/gst/colorspace/gstcolorspace.c b/gst/colorspace/gstcolorspace.c index 8fbafa91..4925b92e 100644 --- a/gst/colorspace/gstcolorspace.c +++ b/gst/colorspace/gstcolorspace.c @@ -502,7 +502,7 @@ gst_colorspace_class_init (GstColorspaceClass * 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_colorspace_set_property; gobject_class->get_property = gst_colorspace_get_property; diff --git a/gst/deinterlace/gstdeinterlace.c b/gst/deinterlace/gstdeinterlace.c index 9f85ac79..e0a1bc24 100644 --- a/gst/deinterlace/gstdeinterlace.c +++ b/gst/deinterlace/gstdeinterlace.c @@ -144,7 +144,7 @@ gst_deinterlace_class_init (GstDeInterlaceClass * 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_DI_ONLY, g_param_spec_boolean ("di_area_only", "di_area_only", "di_area_only", TRUE, G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BLEND, g_param_spec_boolean ("blend", "blend", "blend", TRUE, G_PARAM_READWRITE)); /* CHECKME */ diff --git a/gst/festival/gstfestival.c b/gst/festival/gstfestival.c index 14014968..66cdb70b 100644 --- a/gst/festival/gstfestival.c +++ b/gst/festival/gstfestival.c @@ -177,7 +177,7 @@ gst_festival_class_init (GstFestivalClass * 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_festival_change_state; } diff --git a/gst/filter/gstbpwsinc.c b/gst/filter/gstbpwsinc.c index c96da82f..ad77d432 100644 --- a/gst/filter/gstbpwsinc.c +++ b/gst/filter/gstbpwsinc.c @@ -153,7 +153,7 @@ gst_bpwsinc_class_init (GstBPWSincClass * 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_LOWER_FREQUENCY, g_param_spec_double ("lower-frequency", "Lower Frequency", diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c index 1aee2d5f..bee9e0fc 100644 --- a/gst/filter/gstiir.c +++ b/gst/filter/gstiir.c @@ -138,7 +138,7 @@ gst_iir_class_init (GstIIRClass * 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_A, g_param_spec_double ("A", "A", "A filter coefficient", diff --git a/gst/filter/gstlpwsinc.c b/gst/filter/gstlpwsinc.c index a69c20f7..8ebfc4fb 100644 --- a/gst/filter/gstlpwsinc.c +++ b/gst/filter/gstlpwsinc.c @@ -151,7 +151,7 @@ gst_lpwsinc_class_init (GstLPWSincClass * 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_FREQUENCY, g_param_spec_double ("frequency", "Frequency", diff --git a/gst/librfb/gstrfbsrc.c b/gst/librfb/gstrfbsrc.c index 75d7123e..93929a3b 100644 --- a/gst/librfb/gstrfbsrc.c +++ b/gst/librfb/gstrfbsrc.c @@ -190,7 +190,7 @@ gst_rfbsrc_class_init (GstRfbsrcClass * klass) 1, G_MAXINT, 320, G_PARAM_READWRITE)); #endif - 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_SERVER, g_param_spec_string ("server", "Server", "Server", diff --git a/gst/mixmatrix/mixmatrix.c b/gst/mixmatrix/mixmatrix.c index 056d7b8e..6593478b 100644 --- a/gst/mixmatrix/mixmatrix.c +++ b/gst/mixmatrix/mixmatrix.c @@ -170,7 +170,7 @@ gst_mixmatrix_class_init (GstMixMatrixClass * 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_mixmatrix_signals[RESIZE_SIGNAL] = g_signal_new ("resize", diff --git a/gst/mpeg1sys/gstmpeg1systemencode.c b/gst/mpeg1sys/gstmpeg1systemencode.c index d8a20d27..da3c7485 100644 --- a/gst/mpeg1sys/gstmpeg1systemencode.c +++ b/gst/mpeg1sys/gstmpeg1systemencode.c @@ -137,7 +137,7 @@ gst_system_encode_class_init (GstMPEG1SystemEncodeClass * 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_system_encode_set_property; gobject_class->get_property = gst_system_encode_get_property; diff --git a/gst/mpeg1videoparse/gstmp1videoparse.c b/gst/mpeg1videoparse/gstmp1videoparse.c index e83cff67..84757a24 100644 --- a/gst/mpeg1videoparse/gstmp1videoparse.c +++ b/gst/mpeg1videoparse/gstmp1videoparse.c @@ -134,7 +134,7 @@ gst_mp1videoparse_class_init (Mp1VideoParseClass * 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_mp1videoparse_change_state; } diff --git a/gst/mpeg2sub/gstmpeg2subt.c b/gst/mpeg2sub/gstmpeg2subt.c index c8dc918f..bea2c53c 100644 --- a/gst/mpeg2sub/gstmpeg2subt.c +++ b/gst/mpeg2sub/gstmpeg2subt.c @@ -194,7 +194,7 @@ gst_mpeg2subt_class_init (GstMpeg2SubtClass * klass) 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); gobject_class->set_property = gst_mpeg2subt_set_property; gobject_class->get_property = gst_mpeg2subt_get_property; diff --git a/gst/mpegaudioparse/gstmpegaudioparse.c b/gst/mpegaudioparse/gstmpegaudioparse.c index 9247be4b..1062c2b4 100644 --- a/gst/mpegaudioparse/gstmpegaudioparse.c +++ b/gst/mpegaudioparse/gstmpegaudioparse.c @@ -239,7 +239,7 @@ gst_mp3parse_class_init (GstMPEGAudioParseClass * 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_mp3parse_set_property; gobject_class->get_property = gst_mp3parse_get_property; diff --git a/gst/overlay/gstoverlay.c b/gst/overlay/gstoverlay.c index 8710e935..1a826b61 100644 --- a/gst/overlay/gstoverlay.c +++ b/gst/overlay/gstoverlay.c @@ -136,7 +136,7 @@ gst_overlay_class_init (GstOverlayClass * 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_overlay_set_property; gobject_class->get_property = gst_overlay_get_property; diff --git a/gst/passthrough/gstpassthrough.c b/gst/passthrough/gstpassthrough.c index 65bde078..26cee83e 100644 --- a/gst/passthrough/gstpassthrough.c +++ b/gst/passthrough/gstpassthrough.c @@ -181,7 +181,7 @@ passthrough_class_init (GstPassthroughClass * 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_SILENT, g_param_spec_boolean ("silent", "silent", "silent", TRUE, G_PARAM_READWRITE)); /* CHECKME */ diff --git a/gst/playondemand/gstplayondemand.c b/gst/playondemand/gstplayondemand.c index 66ec8ca3..700a0152 100644 --- a/gst/playondemand/gstplayondemand.c +++ b/gst/playondemand/gstplayondemand.c @@ -193,7 +193,7 @@ play_on_demand_class_init (GstPlayOnDemandClass * klass) klass->clear = play_on_demand_clear_handler; klass->reset = play_on_demand_reset_handler; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); gobject_class->set_property = play_on_demand_set_property; gobject_class->get_property = play_on_demand_get_property; diff --git a/gst/rtjpeg/gstrtjpegdec.c b/gst/rtjpeg/gstrtjpegdec.c index feead867..5024c590 100644 --- a/gst/rtjpeg/gstrtjpegdec.c +++ b/gst/rtjpeg/gstrtjpegdec.c @@ -96,7 +96,7 @@ gst_rtjpegdec_class_init (GstRTJpegDecClass * klass) gstelement_class = (GstElementClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); } static void diff --git a/gst/rtjpeg/gstrtjpegenc.c b/gst/rtjpeg/gstrtjpegenc.c index b39d4663..9563e500 100644 --- a/gst/rtjpeg/gstrtjpegenc.c +++ b/gst/rtjpeg/gstrtjpegenc.c @@ -94,7 +94,7 @@ gst_rtjpegenc_class_init (GstRTJpegEncClass * klass) gstelement_class = (GstElementClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); } static void diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c index 2dd0a6c3..f06f28bb 100644 --- a/gst/smooth/gstsmooth.c +++ b/gst/smooth/gstsmooth.c @@ -125,7 +125,7 @@ gst_smooth_class_init (GstSmoothClass * 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_TOLERANCE, g_param_spec_int ("tolerance", "tolerance", "tolerance", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */ diff --git a/gst/smoothwave/gstsmoothwave.c b/gst/smoothwave/gstsmoothwave.c index d544fc7d..38c1f5fd 100644 --- a/gst/smoothwave/gstsmoothwave.c +++ b/gst/smoothwave/gstsmoothwave.c @@ -139,7 +139,8 @@ gst_smoothwave_class_init (GstSmoothWaveClass * klass) gobject_class = (GObjectClass *) klass; element_class = (GstElementClass *) klass; - parent_class = g_type_class_ref (GST_TYPE_ELEMENT); + parent_class = g_type_class_peek_parent (klass); + gobject_class->dispose = gst_smoothwave_dispose; element_class->change_state = gst_sw_change_state; diff --git a/gst/spectrum/gstspectrum.c b/gst/spectrum/gstspectrum.c index 2715fe78..44221572 100644 --- a/gst/spectrum/gstspectrum.c +++ b/gst/spectrum/gstspectrum.c @@ -104,7 +104,7 @@ gst_spectrum_class_init (GstSpectrumClass * klass) gobject_class = (GObjectClass *) 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_WIDTH, g_param_spec_int ("width", "width", "width", G_MININT, G_MAXINT, 0, G_PARAM_WRITABLE)); /* CHECKME */ diff --git a/gst/stereo/gststereo.c b/gst/stereo/gststereo.c index 9d214201..9354ff83 100644 --- a/gst/stereo/gststereo.c +++ b/gst/stereo/gststereo.c @@ -104,7 +104,7 @@ gst_stereo_class_init (GstStereoClass * 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_int ("active", "active", "active", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */ g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_STEREO, g_param_spec_float ("stereo", "stereo", "stereo", 0.0, 1.0, 0.0, G_PARAM_READWRITE)); /* CHECKME */ diff --git a/gst/switch/gstswitch.c b/gst/switch/gstswitch.c index 5c7cab55..b04fbda2 100644 --- a/gst/switch/gstswitch.c +++ b/gst/switch/gstswitch.c @@ -429,7 +429,7 @@ gst_switch_class_init (GstSwitchClass * 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_NB_SOURCES, diff --git a/gst/tta/gstttadec.c b/gst/tta/gstttadec.c index a74041ec..6e894241 100644 --- a/gst/tta/gstttadec.c +++ b/gst/tta/gstttadec.c @@ -206,7 +206,7 @@ gst_tta_dec_class_init (GstTtaDecClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; - parent = g_type_class_ref (GST_TYPE_ELEMENT); + parent = g_type_class_peek_parent (klass); gobject_class->dispose = gst_tta_dec_dispose; } diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index 8bdaf8ba..4438941b 100644 --- a/gst/tta/gstttaparse.c +++ b/gst/tta/gstttaparse.c @@ -118,7 +118,7 @@ gst_tta_parse_class_init (GstTtaParseClass * 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_tta_parse_dispose; gstelement_class->change_state = gst_tta_parse_change_state; diff --git a/gst/vbidec/gstvbidec.c b/gst/vbidec/gstvbidec.c index 86b3154e..1ee5afb8 100644 --- a/gst/vbidec/gstvbidec.c +++ b/gst/vbidec/gstvbidec.c @@ -184,7 +184,7 @@ gst_vbidec_class_init (GstVBIDecClass * 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_vbidec_set_property; gobject_class->get_property = gst_vbidec_get_property; diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c index fb2d400c..bbca0d7f 100644 --- a/gst/videocrop/gstvideocrop.c +++ b/gst/videocrop/gstvideocrop.c @@ -160,7 +160,7 @@ gst_video_crop_class_init (GstVideoCropClass * 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_LEFT, g_param_spec_int ("left", "Left", "Pixels to crop at left", diff --git a/gst/virtualdub/gstxsharpen.c b/gst/virtualdub/gstxsharpen.c index cd99fb8e..4a81e8dc 100644 --- a/gst/virtualdub/gstxsharpen.c +++ b/gst/virtualdub/gstxsharpen.c @@ -120,7 +120,7 @@ gst_xsharpen_class_init (GstXsharpenClass * 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_STRENGTH, g_param_spec_int ("strength", "strength", "strength", diff --git a/gst/y4m/gsty4mencode.c b/gst/y4m/gsty4mencode.c index a745ceaa..0f1854bc 100644 --- a/gst/y4m/gsty4mencode.c +++ b/gst/y4m/gsty4mencode.c @@ -122,7 +122,7 @@ gst_y4mencode_class_init (GstY4mEncodeClass * 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_y4mencode_change_state; |