From 6c3e77964ad84bdfc9b2bf20b04b6137892e028d Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Fri, 17 Jun 2011 03:07:09 +0300 Subject: [PATCH] audioecho: fix param flags If the parameter cannot be changed in paused&playing, it is not controlable. Set the appropriate mutability flag instead. --- gst/audiofx/audioecho.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst/audiofx/audioecho.c b/gst/audiofx/audioecho.c index cf4dab1920..90646199d8 100644 --- a/gst/audiofx/audioecho.c +++ b/gst/audiofx/audioecho.c @@ -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",