Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)

Original commit message from CVS:
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_class_init):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_class_init):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_class_init):
* ext/mad/gstmad.c: (gst_mad_class_init):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_class_init):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_class_init):
* gst/asfdemux/gstasfmux.c: (gst_asfmux_class_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_class_init):
* gst/iec958/ac3iec.c: (ac3iec_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init):
* gst/mpegstream/gstmpegclock.c: (gst_mpeg_clock_class_init):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_class_init):
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init):
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
This commit is contained in:
Stefan Kost 2006-04-08 21:42:19 +00:00
parent 7a8e48e17c
commit d398763d01
16 changed files with 36 additions and 15 deletions

View file

@ -1,3 +1,24 @@
2006-04-08 Stefan Kost <ensonic@users.sf.net>
* ext/amrnb/amrnbdec.c: (gst_amrnbdec_class_init):
* ext/amrnb/amrnbenc.c: (gst_amrnbenc_class_init):
* ext/amrnb/amrnbparse.c: (gst_amrnbparse_class_init):
* ext/mad/gstmad.c: (gst_mad_class_init):
* ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_class_init):
* gst/ac3parse/gstac3parse.c: (gst_ac3parse_class_init):
* gst/asfdemux/gstasfmux.c: (gst_asfmux_class_init):
* gst/dvdlpcmdec/gstdvdlpcmdec.c: (gst_dvdlpcmdec_class_init):
* gst/iec958/ac3iec.c: (ac3iec_class_init):
* gst/mpegaudioparse/gstmpegaudioparse.c:
(gst_mp3parse_class_init):
* gst/mpegstream/gstdvddemux.c: (gst_dvd_demux_class_init):
* gst/mpegstream/gstmpegclock.c: (gst_mpeg_clock_class_init):
* gst/mpegstream/gstrfc2250enc.c: (gst_rfc2250_enc_class_init):
* gst/realmedia/rmdemux.c: (gst_rmdemux_class_init):
* gst/synaesthesia/gstsynaesthesia.c:
(gst_synaesthesia_class_init):
Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
2006-04-07 Tim-Philipp Müller <tim at centricular dot net> 2006-04-07 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it> Patch by: Fabrizio Gennari <fabrizio dot ge at tiscali dot it>

View file

@ -105,7 +105,7 @@ gst_amrnbdec_class_init (GstAmrnbDecClass * klass)
{ {
GstElementClass *element_class = GST_ELEMENT_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);
element_class->change_state = gst_amrnbdec_state_change; element_class->change_state = gst_amrnbdec_state_change;
} }

View file

@ -103,7 +103,7 @@ gst_amrnbenc_class_init (GstAmrnbEncClass * klass)
GObjectClass *object_class = G_OBJECT_CLASS (klass); GObjectClass *object_class = G_OBJECT_CLASS (klass);
GstElementClass *element_class = GST_ELEMENT_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_amrnbenc_finalize; object_class->finalize = gst_amrnbenc_finalize;

View file

@ -110,7 +110,7 @@ gst_amrnbparse_class_init (GstAmrnbParseClass * klass)
{ {
GstElementClass *element_class = GST_ELEMENT_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);
element_class->change_state = gst_amrnbparse_state_change; element_class->change_state = gst_amrnbparse_state_change;

View file

@ -287,7 +287,7 @@ gst_mad_class_init (GstMadClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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_mad_set_property; gobject_class->set_property = gst_mad_set_property;
gobject_class->get_property = gst_mad_get_property; gobject_class->get_property = gst_mad_get_property;

View file

@ -251,7 +251,7 @@ gst_mpeg2dec_class_init (GstMpeg2decClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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_mpeg2dec_set_property; gobject_class->set_property = gst_mpeg2dec_set_property;
gobject_class->get_property = gst_mpeg2dec_get_property; gobject_class->get_property = gst_mpeg2dec_get_property;

View file

@ -170,7 +170,7 @@ gst_ac3parse_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 */ 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_ac3parse_set_property; gobject_class->set_property = gst_ac3parse_set_property;
gobject_class->get_property = gst_ac3parse_get_property; gobject_class->get_property = gst_ac3parse_get_property;

View file

@ -213,7 +213,7 @@ gst_asfmux_class_init (GstAsfMuxClass * klass)
gstelement_class = (GstElementClass *) klass; gstelement_class = (GstElementClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_ELEMENT); parent_class = g_type_class_peek_parent (klass);
gstelement_class->request_new_pad = gst_asfmux_request_new_pad; gstelement_class->request_new_pad = gst_asfmux_request_new_pad;
gstelement_class->change_state = gst_asfmux_change_state; gstelement_class->change_state = gst_asfmux_change_state;

View file

@ -135,7 +135,7 @@ gst_dvdlpcmdec_class_init (GstDvdLpcmDecClass * klass)
gstelement_class = (GstElementClass *) 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_dvdlpcmdec_change_state; gstelement_class->change_state = gst_dvdlpcmdec_change_state;
} }

View file

@ -158,7 +158,7 @@ ac3iec_class_init (AC3IECClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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 = ac3iec_set_property; gobject_class->set_property = ac3iec_set_property;
gobject_class->get_property = ac3iec_get_property; gobject_class->get_property = ac3iec_get_property;

View file

@ -241,7 +241,7 @@ gst_mp3parse_class_init (GstMPEGAudioParseClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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->set_property = gst_mp3parse_set_property;
gobject_class->get_property = gst_mp3parse_get_property; gobject_class->get_property = gst_mp3parse_get_property;

View file

@ -234,7 +234,7 @@ gst_dvd_demux_class_init (GstDVDDemuxClass * klass)
GstMPEGParseClass *mpeg_parse_class; GstMPEGParseClass *mpeg_parse_class;
GstMPEGDemuxClass *mpeg_demux_class; GstMPEGDemuxClass *mpeg_demux_class;
parent_class = g_type_class_ref (GST_TYPE_MPEG_DEMUX); parent_class = g_type_class_peek_parent (klass);
gstelement_class = (GstElementClass *) klass; gstelement_class = (GstElementClass *) klass;
mpeg_parse_class = (GstMPEGParseClass *) klass; mpeg_parse_class = (GstMPEGParseClass *) klass;

View file

@ -72,7 +72,7 @@ gst_mpeg_clock_class_init (GstMPEGClockClass * klass)
gstobject_class = (GstObjectClass *) klass; gstobject_class = (GstObjectClass *) klass;
gstclock_class = (GstClockClass *) klass; gstclock_class = (GstClockClass *) klass;
parent_class = g_type_class_ref (GST_TYPE_SYSTEM_CLOCK); parent_class = g_type_class_peek_parent (klass);
gstclock_class->get_internal_time = gst_mpeg_clock_get_internal_time; gstclock_class->get_internal_time = gst_mpeg_clock_get_internal_time;
} }

View file

@ -124,7 +124,7 @@ gst_rfc2250_enc_class_init (GstRFC2250EncClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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_BIT_RATE, g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_BIT_RATE,
g_param_spec_uint ("bit_rate", "bit_rate", "bit_rate", g_param_spec_uint ("bit_rate", "bit_rate", "bit_rate",

View file

@ -205,7 +205,7 @@ gst_rmdemux_class_init (GstRMDemuxClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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_rmdemux_change_state; gstelement_class->change_state = gst_rmdemux_change_state;

View file

@ -166,7 +166,7 @@ gst_synaesthesia_class_init (GstSynaesthesiaClass * klass)
gobject_class = (GObjectClass *) klass; gobject_class = (GObjectClass *) klass;
gstelement_class = (GstElementClass *) 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_synaesthesia_change_state; gstelement_class->change_state = gst_synaesthesia_change_state;