mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
Original commit message from CVS: * ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init): * ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init): * ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init): * ext/arts/gst_arts.c: (gst_arts_class_init): * ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init): * ext/audiofile/gstafsink.c: (gst_afsink_class_init): * ext/audiofile/gstafsrc.c: (gst_afsrc_class_init): * ext/audioresample/gstaudioresample.c: * ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init): * ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init): * ext/divx/gstdivxdec.c: (gst_divxdec_class_init): * ext/hermes/gsthermescolorspace.c: (gst_hermes_colorspace_class_init): * ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init): * ext/jack/gstjack.c: (gst_jack_class_init): * ext/jack/gstjackbin.c: (gst_jack_bin_class_init): * ext/lcs/gstcolorspace.c: (gst_colorspace_class_init): * ext/libfame/gstlibfame.c: (gst_fameenc_class_init): * ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init): * ext/nas/nassink.c: (gst_nassink_class_init): * ext/shout/gstshout.c: (gst_icecastsend_class_init): * ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init): * ext/sndfile/gstsf.c: (gst_sf_class_init): * ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init), (gst_swfdec_class_init): * ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init): * ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init): * gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init): * gst/chart/gstchart.c: (gst_chart_class_init): * gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init): * gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init): * gst/festival/gstfestival.c: (gst_festival_class_init): * gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init): * gst/filter/gstiir.c: (gst_iir_class_init): * gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init): * gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init): * gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init): * gst/mpeg1sys/gstmpeg1systemencode.c: (gst_system_encode_class_init): * gst/mpeg1videoparse/gstmp1videoparse.c: (gst_mp1videoparse_class_init): * gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init): * gst/mpegaudioparse/gstmpegaudioparse.c: (gst_mp3parse_class_init): * gst/overlay/gstoverlay.c: (gst_overlay_class_init): * gst/passthrough/gstpassthrough.c: (passthrough_class_init): * gst/playondemand/gstplayondemand.c: (play_on_demand_class_init): * gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init): * gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init): * gst/smooth/gstsmooth.c: (gst_smooth_class_init): * gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init): * gst/spectrum/gstspectrum.c: (gst_spectrum_class_init): * gst/stereo/gststereo.c: (gst_stereo_class_init): * gst/switch/gstswitch.c: (gst_switch_class_init): * gst/tta/gstttadec.c: (gst_tta_dec_class_init): * gst/tta/gstttaparse.c: (gst_tta_parse_class_init): * gst/vbidec/gstvbidec.c: (gst_vbidec_class_init): * gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init): * gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init): * gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init): * sys/cdrom/gstcdplayer.c: (cdplayer_class_init): * sys/directsound/gstdirectsoundsink.c: (gst_directsoundsink_class_init): * sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init): * sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init): * sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init): * sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init): * sys/v4l2/gstv4l2colorbalance.c: (gst_v4l2_color_balance_channel_class_init): * sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init), (gst_v4l2_tuner_norm_class_init): * sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init): Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
This commit is contained in:
parent
c745baedbb
commit
aa99af6027
66 changed files with 146 additions and 71 deletions
76
ChangeLog
76
ChangeLog
|
@ -1,3 +1,79 @@
|
|||
2006-04-08 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* ext/amrwb/gstamrwbdec.c: (gst_amrwbdec_class_init):
|
||||
* ext/amrwb/gstamrwbenc.c: (gst_amrwbenc_class_init):
|
||||
* ext/amrwb/gstamrwbparse.c: (gst_amrwbparse_class_init):
|
||||
* ext/arts/gst_arts.c: (gst_arts_class_init):
|
||||
* ext/artsd/gstartsdsink.c: (gst_artsdsink_class_init):
|
||||
* ext/audiofile/gstafsink.c: (gst_afsink_class_init):
|
||||
* ext/audiofile/gstafsrc.c: (gst_afsrc_class_init):
|
||||
* ext/audioresample/gstaudioresample.c:
|
||||
* ext/cdaudio/gstcdaudio.c: (gst_cdaudio_class_init):
|
||||
* ext/directfb/dfbvideosink.c: (gst_dfbvideosink_class_init):
|
||||
* ext/divx/gstdivxdec.c: (gst_divxdec_class_init):
|
||||
* ext/hermes/gsthermescolorspace.c:
|
||||
(gst_hermes_colorspace_class_init):
|
||||
* ext/ivorbis/vorbisfile.c: (gst_ivorbisfile_class_init):
|
||||
* ext/jack/gstjack.c: (gst_jack_class_init):
|
||||
* ext/jack/gstjackbin.c: (gst_jack_bin_class_init):
|
||||
* ext/lcs/gstcolorspace.c: (gst_colorspace_class_init):
|
||||
* ext/libfame/gstlibfame.c: (gst_fameenc_class_init):
|
||||
* ext/musicbrainz/gsttrm.c: (gst_musicbrainz_class_init):
|
||||
* ext/nas/nassink.c: (gst_nassink_class_init):
|
||||
* ext/shout/gstshout.c: (gst_icecastsend_class_init):
|
||||
* ext/snapshot/gstsnapshot.c: (gst_snapshot_class_init):
|
||||
* ext/sndfile/gstsf.c: (gst_sf_class_init):
|
||||
* ext/swfdec/gstswfdec.c: (gst_swfdecbuffer_class_init),
|
||||
(gst_swfdec_class_init):
|
||||
* ext/tarkin/gsttarkindec.c: (gst_tarkindec_class_init):
|
||||
* ext/tarkin/gsttarkinenc.c: (gst_tarkinenc_class_init):
|
||||
* gst/cdxaparse/gstcdxastrip.c: (gst_cdxastrip_class_init):
|
||||
* gst/chart/gstchart.c: (gst_chart_class_init):
|
||||
* gst/colorspace/gstcolorspace.c: (gst_colorspace_class_init):
|
||||
* gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init):
|
||||
* gst/festival/gstfestival.c: (gst_festival_class_init):
|
||||
* gst/filter/gstbpwsinc.c: (gst_bpwsinc_class_init):
|
||||
* gst/filter/gstiir.c: (gst_iir_class_init):
|
||||
* gst/filter/gstlpwsinc.c: (gst_lpwsinc_class_init):
|
||||
* gst/librfb/gstrfbsrc.c: (gst_rfbsrc_class_init):
|
||||
* gst/mixmatrix/mixmatrix.c: (gst_mixmatrix_class_init):
|
||||
* gst/mpeg1sys/gstmpeg1systemencode.c:
|
||||
(gst_system_encode_class_init):
|
||||
* gst/mpeg1videoparse/gstmp1videoparse.c:
|
||||
(gst_mp1videoparse_class_init):
|
||||
* gst/mpeg2sub/gstmpeg2subt.c: (gst_mpeg2subt_class_init):
|
||||
* gst/mpegaudioparse/gstmpegaudioparse.c:
|
||||
(gst_mp3parse_class_init):
|
||||
* gst/overlay/gstoverlay.c: (gst_overlay_class_init):
|
||||
* gst/passthrough/gstpassthrough.c: (passthrough_class_init):
|
||||
* gst/playondemand/gstplayondemand.c: (play_on_demand_class_init):
|
||||
* gst/rtjpeg/gstrtjpegdec.c: (gst_rtjpegdec_class_init):
|
||||
* gst/rtjpeg/gstrtjpegenc.c: (gst_rtjpegenc_class_init):
|
||||
* gst/smooth/gstsmooth.c: (gst_smooth_class_init):
|
||||
* gst/smoothwave/gstsmoothwave.c: (gst_smoothwave_class_init):
|
||||
* gst/spectrum/gstspectrum.c: (gst_spectrum_class_init):
|
||||
* gst/stereo/gststereo.c: (gst_stereo_class_init):
|
||||
* gst/switch/gstswitch.c: (gst_switch_class_init):
|
||||
* gst/tta/gstttadec.c: (gst_tta_dec_class_init):
|
||||
* gst/tta/gstttaparse.c: (gst_tta_parse_class_init):
|
||||
* gst/vbidec/gstvbidec.c: (gst_vbidec_class_init):
|
||||
* gst/videocrop/gstvideocrop.c: (gst_video_crop_class_init):
|
||||
* gst/virtualdub/gstxsharpen.c: (gst_xsharpen_class_init):
|
||||
* gst/y4m/gsty4mencode.c: (gst_y4mencode_class_init):
|
||||
* sys/cdrom/gstcdplayer.c: (cdplayer_class_init):
|
||||
* sys/directsound/gstdirectsoundsink.c:
|
||||
(gst_directsoundsink_class_init):
|
||||
* sys/dxr3/dxr3audiosink.c: (dxr3audiosink_class_init):
|
||||
* sys/dxr3/dxr3spusink.c: (dxr3spusink_class_init):
|
||||
* sys/dxr3/dxr3videosink.c: (dxr3videosink_class_init):
|
||||
* sys/qcam/gstqcamsrc.c: (gst_qcamsrc_class_init):
|
||||
* sys/v4l2/gstv4l2colorbalance.c:
|
||||
(gst_v4l2_color_balance_channel_class_init):
|
||||
* sys/v4l2/gstv4l2tuner.c: (gst_v4l2_tuner_channel_class_init),
|
||||
(gst_v4l2_tuner_norm_class_init):
|
||||
* sys/ximagesrc/ximagesrc.c: (gst_ximagesrc_class_init):
|
||||
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
|
||||
|
||||
2006-04-08 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* gst/colorspace/gstcolorspace.h:
|
||||
|
|
|
@ -81,7 +81,7 @@ gst_amrwbdec_class_init (GstAmrwbDecClass * 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_amrwbdec_state_change;
|
||||
}
|
||||
|
|
|
@ -80,7 +80,7 @@ gst_amrwbenc_class_init (GstAmrwbEncClass * klass)
|
|||
GObjectClass *object_class = G_OBJECT_CLASS (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);
|
||||
|
||||
object_class->finalize = gst_amrwbenc_finalize;
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ gst_amrwbparse_class_init (GstAmrwbParseClass * 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_amrwbparse_state_change;
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ gst_arts_class_init (GstARTSClass * klass)
|
|||
GObjectClass *gobject_class;
|
||||
GstElementClass *gstelement_class;
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
|
|
@ -118,7 +118,7 @@ gst_artsdsink_class_init (GstArtsdsinkClass * 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_MUTE, g_param_spec_boolean ("mute", "mute", "mute", TRUE, G_PARAM_READWRITE)); /* CHECKME */
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ gst_afsink_class_init (GstAFSinkClass * 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_element_class_install_std_props (GST_ELEMENT_CLASS (klass),
|
||||
"location", ARG_LOCATION, G_PARAM_READWRITE, NULL);
|
||||
|
|
|
@ -157,7 +157,7 @@ gst_afsrc_class_init (GstAFSrcClass * 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_element_class_install_std_props (GST_ELEMENT_CLASS (klass),
|
||||
"location", ARG_LOCATION, G_PARAM_READWRITE, NULL);
|
||||
|
|
|
@ -145,7 +145,7 @@ static void gst_audioresample_class_init (AudioresampleClass * klass)
|
|||
g_param_spec_int ("filter_length", "filter_length", "filter_length",
|
||||
0, G_MAXINT, 16, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
GST_DEBUG_CATEGORY_INIT (audioresample_debug, "audioresample", 0,
|
||||
"audioresample element");
|
||||
|
|
|
@ -155,7 +155,7 @@ gst_cdaudio_class_init (GstCDAudioClass * klass)
|
|||
gstelement_klass = (GstElementClass *) klass;
|
||||
gstbin_klass = (GstBinClass *) klass;
|
||||
|
||||
parent_class = g_type_class_ref (gst_bin_get_type ());
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_klass->set_property = gst_cdaudio_set_property;
|
||||
gobject_klass->get_property = gst_cdaudio_get_property;
|
||||
|
|
|
@ -2274,7 +2274,7 @@ gst_dfbvideosink_class_init (GstDfbVideoSinkClass * klass)
|
|||
gstelement_class = (GstElementClass *) klass;
|
||||
gstbasesink_class = (GstBaseSinkClass *) klass;
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_VIDEO_SINK);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = gst_dfbvideosink_finalize;
|
||||
gobject_class->set_property = gst_dfbvideosink_set_property;
|
||||
|
|
|
@ -152,7 +152,7 @@ gst_divxdec_class_init (GstDivxDecClass * klass)
|
|||
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
|
||||
GObjectClass *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_divxdec_change_state;
|
||||
gobject_class->dispose = gst_divxdec_dispose;
|
||||
|
|
|
@ -525,7 +525,7 @@ gst_hermes_colorspace_class_init (GstHermesColorspaceClass * 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_hermes_colorspace_set_property;
|
||||
gobject_class->get_property = gst_hermes_colorspace_get_property;
|
||||
|
|
|
@ -242,7 +242,7 @@ gst_ivorbisfile_class_init (IvorbisfileClass * 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_ivorbisfile_get_property;
|
||||
gobject_class->set_property = gst_ivorbisfile_set_property;
|
||||
|
|
|
@ -202,7 +202,7 @@ gst_jack_class_init (GstJackClass * klass)
|
|||
element_class = (GstElementClass *) klass;
|
||||
|
||||
if (parent_class == NULL)
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
object_class->get_property = gst_jack_get_property;
|
||||
object_class->set_property = gst_jack_set_property;
|
||||
|
|
|
@ -81,7 +81,7 @@ gst_jack_bin_class_init (GstJackBinClass * klass)
|
|||
object_class = (GObjectClass *) klass;
|
||||
element_class = (GstElementClass *) klass;
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_BIN);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
element_class->change_state = gst_jack_bin_change_state;
|
||||
}
|
||||
|
|
|
@ -358,7 +358,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;
|
||||
|
|
|
@ -200,7 +200,7 @@ gst_fameenc_class_init (GstFameEncClass * 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_fameenc_set_property;
|
||||
gobject_class->get_property = gst_fameenc_get_property;
|
||||
|
|
|
@ -141,7 +141,7 @@ gst_musicbrainz_class_init (GstMusicBrainzClass * 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_SIGNATURE,
|
||||
g_param_spec_string ("signature", "signature", "signature",
|
||||
|
|
|
@ -149,7 +149,7 @@ gst_nassink_class_init (GstNassinkClass * klass)
|
|||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
if (parent_class == NULL)
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->set_property = gst_nassink_set_property;
|
||||
gobject_class->get_property = gst_nassink_get_property;
|
||||
|
|
|
@ -131,7 +131,7 @@ gst_icecastsend_class_init (GstIcecastSendClass * 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_IP, g_param_spec_string ("ip", "ip", "ip", NULL, G_PARAM_READWRITE)); /* CHECKME */
|
||||
g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_PORT, g_param_spec_int ("port", "port", "port", G_MININT, G_MAXINT, 0, G_PARAM_READWRITE)); /* CHECKME */
|
||||
|
|
|
@ -139,7 +139,7 @@ gst_snapshot_class_init (GstSnapshotClass * 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_FRAME,
|
||||
g_param_spec_long ("frame", "frame", "frame",
|
||||
|
|
|
@ -274,9 +274,7 @@ gst_sf_class_init (GstSFClass * klass)
|
|||
gobject_class = (GObjectClass *) klass;
|
||||
gstelement_class = (GstElementClass *) klass;
|
||||
|
||||
/* although this isn't really the parent class, that's ok; GstSF doesn't
|
||||
override any methods */
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gst_element_class_install_std_props (gstelement_class, "location",
|
||||
ARG_LOCATION, G_PARAM_READWRITE, NULL);
|
||||
|
|
|
@ -159,14 +159,14 @@ gst_swfdecbuffer_get_type (void)
|
|||
}
|
||||
|
||||
static void
|
||||
gst_swfdecbuffer_class_init (gpointer g_class, gpointer class_data)
|
||||
gst_swfdecbuffer_class_init (gpointer klass)
|
||||
{
|
||||
GstBufferClass *swfdecbuffer_class = GST_BUFFER_CLASS (g_class);
|
||||
GstBufferClass *swfdecbuffer_class = GST_BUFFER_CLASS (klass);
|
||||
|
||||
swfdecbuffer_class->mini_object_class.finalize =
|
||||
(GstMiniObjectFinalizeFunction) gst_swfdecbuffer_finalize;
|
||||
|
||||
buffer_parent_class = g_type_class_ref (GST_TYPE_BUFFER);
|
||||
buffer_parent_class = g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -234,7 +234,7 @@ gst_swfdec_class_init (GstSwfdecClass * 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_swfdec_set_property;
|
||||
gobject_class->get_property = gst_swfdec_get_property;
|
||||
|
|
|
@ -147,7 +147,7 @@ gst_tarkindec_class_init (TarkinDecClass * klass)
|
|||
g_param_spec_int ("bitrate", "bitrate", "bitrate",
|
||||
G_MININT, G_MAXINT, 3000, G_PARAM_READWRITE));
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->set_property = gst_tarkindec_set_property;
|
||||
gobject_class->get_property = gst_tarkindec_get_property;
|
||||
|
|
|
@ -155,7 +155,7 @@ gst_tarkinenc_class_init (TarkinEncClass * klass)
|
|||
"Number of vanishing moments for the analysis filter",
|
||||
1, 4, 2, G_PARAM_READWRITE));
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->set_property = gst_tarkinenc_set_property;
|
||||
gobject_class->get_property = gst_tarkinenc_get_property;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -109,7 +109,7 @@ cdplayer_class_init (CDPlayerClass * klass)
|
|||
gstelement_klass = (GstElementClass *) klass;
|
||||
gstbin_klass = (GstBinClass *) klass;
|
||||
|
||||
parent_class = g_type_class_ref (gst_bin_get_type ());
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_klass->finalize = GST_DEBUG_FUNCPTR (cdplayer_finalize);
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ gst_directsoundsink_class_init (GstDirectSoundSinkClass * 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_directsoundsink_dispose);
|
||||
gobject_class->get_property =
|
||||
|
|
|
@ -174,7 +174,7 @@ dxr3audiosink_class_init (Dxr3AudioSinkClass * 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);
|
||||
|
||||
dxr3audiosink_signals[SIGNAL_FLUSHED] =
|
||||
g_signal_new ("flushed", G_TYPE_FROM_CLASS (klass),
|
||||
|
|
|
@ -150,7 +150,7 @@ dxr3spusink_class_init (Dxr3SpuSinkClass * 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);
|
||||
|
||||
dxr3spusink_signals[SET_CLUT_SIGNAL] =
|
||||
g_signal_new ("set-clut",
|
||||
|
|
|
@ -175,7 +175,7 @@ dxr3videosink_class_init (Dxr3VideoSinkClass * 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);
|
||||
|
||||
dxr3videosink_signals[SIGNAL_FLUSHED] =
|
||||
g_signal_new ("flushed", G_TYPE_FROM_CLASS (klass),
|
||||
|
|
|
@ -167,7 +167,7 @@ gst_qcamsrc_class_init (GstQCamSrcClass * 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_WIDTH,
|
||||
g_param_spec_int ("width", "width", "width",
|
||||
|
|
|
@ -73,7 +73,7 @@ static void
|
|||
gst_v4l2_color_balance_channel_class_init (GstV4l2ColorBalanceChannelClass *
|
||||
klass)
|
||||
{
|
||||
parent_class = g_type_class_ref (GST_TYPE_COLOR_BALANCE_CHANNEL);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -85,7 +85,7 @@ gst_v4l2_tuner_channel_get_type (void)
|
|||
static void
|
||||
gst_v4l2_tuner_channel_class_init (GstV4l2TunerChannelClass * klass)
|
||||
{
|
||||
channel_parent_class = g_type_class_ref (GST_TYPE_TUNER_CHANNEL);
|
||||
channel_parent_class = g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -126,7 +126,7 @@ gst_v4l2_tuner_norm_get_type (void)
|
|||
static void
|
||||
gst_v4l2_tuner_norm_class_init (GstV4l2TunerNormClass * klass)
|
||||
{
|
||||
norm_parent_class = g_type_class_ref (GST_TYPE_TUNER_NORM);
|
||||
norm_parent_class = g_type_class_peek_parent (klass);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -793,7 +793,7 @@ gst_ximagesrc_class_init (GstXImageSrcClass * klass)
|
|||
"Show mouse pointer if XFixes extension enabled", TRUE,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
push_class->create = gst_ximagesrc_create;
|
||||
bc->get_caps = gst_ximagesrc_get_caps;
|
||||
|
|
Loading…
Reference in a new issue