From: Wim Taymans Date: Tue, 23 Aug 2005 18:24:36 +0000 (+0000) Subject: ext/speex/: Fix property warning. X-Git-Tag: CHANGELOG_START~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a953ed2d95c4743941da3d5bd3aa890ba60616a5;p=platform%2Fupstream%2Fgst-plugins-good.git ext/speex/: Fix property warning. Original commit message from CVS: * ext/speex/gstspeexdec.c: (gst_speex_dec_class_init): * ext/speex/gstspeexenc.c: (gst_speexenc_class_init): Fix property warning. --- diff --git a/ChangeLog b/ChangeLog index 7e74f66..a918078 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2005-08-23 Wim Taymans + * ext/speex/gstspeexdec.c: (gst_speex_dec_class_init): + * ext/speex/gstspeexenc.c: (gst_speexenc_class_init): + Fix property warning. + +2005-08-23 Wim Taymans + * gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_init), (gst_rtpamrdec_sink_setcaps), (gst_rtpamrdec_chain): * gst/rtp/gstrtpamrenc.c: (gst_rtpamrenc_class_init), diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index edf44c7..41ea3f0 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -99,15 +99,15 @@ gst_speex_dec_class_init (GstSpeexDecClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; + gobject_class->set_property = gst_speexdec_set_property; + gobject_class->get_property = gst_speexdec_get_property; + g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_ENH, g_param_spec_boolean ("enh", "Enh", "Enable perceptual enhancement", DEFAULT_ENH, G_PARAM_READWRITE)); gstelement_class->change_state = speex_dec_change_state; - gobject_class->set_property = gst_speexdec_set_property; - gobject_class->get_property = gst_speexdec_get_property; - GST_DEBUG_CATEGORY_INIT (speexdec_debug, "speexdec", 0, "speex decoding element"); } diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c index 925fd5e..a1b1cd5 100644 --- a/ext/speex/gstspeexenc.c +++ b/ext/speex/gstspeexenc.c @@ -191,6 +191,9 @@ gst_speexenc_class_init (GstSpeexEncClass * klass) gobject_class = (GObjectClass *) klass; gstelement_class = (GstElementClass *) klass; + gobject_class->set_property = gst_speexenc_set_property; + gobject_class->get_property = gst_speexenc_get_property; + g_object_class_install_property (G_OBJECT_CLASS (klass), ARG_QUALITY, g_param_spec_float ("quality", "Quality", "Encoding quality", 0.0, 10.0, DEFAULT_QUALITY, G_PARAM_READWRITE)); @@ -225,9 +228,6 @@ gst_speexenc_class_init (GstSpeexEncClass * klass) parent_class = g_type_class_ref (GST_TYPE_ELEMENT); - gobject_class->set_property = gst_speexenc_set_property; - gobject_class->get_property = gst_speexenc_get_property; - gstelement_class->change_state = gst_speexenc_change_state; }