From a953ed2d95c4743941da3d5bd3aa890ba60616a5 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 23 Aug 2005 18:24:36 +0000 Subject: 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. --- ext/speex/gstspeexdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/speex/gstspeexdec.c') diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index edf44c77..41ea3f0e 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"); } -- cgit