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 cf4dab19206d63dea72c0f3e652972a2f54ebf7a..90646199d86261eeed7d38b013db53e3c0053f6c 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",