ext/speex/: Fix property warning.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 23 Aug 2005 18:24:36 +0000 (18:24 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 23 Aug 2005 18:24:36 +0000 (18:24 +0000)
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.

ChangeLog
ext/speex/gstspeexdec.c
ext/speex/gstspeexenc.c

index 7e74f661748c3b47b881947ca8ac36a428f02528..a918078783133c96ebb0e31d7a050c6a4ddd2ae3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-08-23  Wim Taymans  <wim@fluendo.com>
+
+       * 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  <wim@fluendo.com>
 
        * gst/rtp/gstrtpamrdec.c: (gst_rtpamrdec_init),
index edf44c77545173afffcd46d52d09558ff2e2601b..41ea3f0e0115f00b4572291fab4b5ae2c62e6feb 100644 (file)
@@ -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");
 }
index 925fd5ec80ebcabe7abc96b26c824c21ffb3c9ca..a1b1cd52ba24f0aaa257629bcb2a8b2ad56d2d6c 100644 (file)
@@ -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;
 }