audioecho: fix param flags
authorStefan Kost <ensonic@users.sf.net>
Fri, 17 Jun 2011 00:07:09 +0000 (03:07 +0300)
committerStefan Kost <ensonic@users.sf.net>
Fri, 17 Jun 2011 00:07:09 +0000 (03:07 +0300)
If the parameter cannot be changed in paused&playing, it is not controlable. Set
the appropriate mutability flag instead.

gst/audiofx/audioecho.c

index cf4dab1..9064619 100644 (file)
@@ -137,7 +137,8 @@ gst_audio_echo_class_init (GstAudioEchoClass * klass)
           "Maximum delay of the echo in nanoseconds"
           " (can't be changed in PLAYING or PAUSED state)",
           1, G_MAXUINT64, 1,
-          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | GST_PARAM_CONTROLLABLE));
+          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS |
+          GST_PARAM_MUTABLE_READY));
 
   g_object_class_install_property (gobject_class, PROP_INTENSITY,
       g_param_spec_float ("intensity", "Intensity",