summaryrefslogtreecommitdiffstats
path: root/ext/speex/gstspeexenc.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-08-23 18:24:36 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-08-23 18:24:36 +0000
commita953ed2d95c4743941da3d5bd3aa890ba60616a5 (patch)
treefcbd60de90001c50ecdcefd79dab32e1402e5628 /ext/speex/gstspeexenc.c
parentdcc3732178cf9ba880a2d32e33ee981ca3ae7a6d (diff)
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.
Diffstat (limited to 'ext/speex/gstspeexenc.c')
-rw-r--r--ext/speex/gstspeexenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/speex/gstspeexenc.c b/ext/speex/gstspeexenc.c
index 925fd5ec..a1b1cd52 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;
}