summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorPrashant Gotarne <ps.gotarne@samsung.com>2015-08-10 17:10:42 +0530
committerLuis de Bethencourt <luis@debethencourt.com>2015-08-10 13:34:11 +0100
commitcde1f12ad3d470ea2265d1c91bc832f41da66c06 (patch)
tree000a8982a8dfbc56dbba586c3f578f891e95e4eb /gst
parent604cc2a54812eeb46512c8073d9d01cf8087f592 (diff)
audioecho: removed unused variable in set_property
unused local variable 'delay' is removed. https://bugzilla.gnome.org/show_bug.cgi?id=753450
Diffstat (limited to 'gst')
-rw-r--r--gst/audiofx/audioecho.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gst/audiofx/audioecho.c b/gst/audiofx/audioecho.c
index 42572aa3c..80238274e 100644
--- a/gst/audiofx/audioecho.c
+++ b/gst/audiofx/audioecho.c
@@ -210,17 +210,15 @@ gst_audio_echo_set_property (GObject * object, guint prop_id,
break;
}
case PROP_MAX_DELAY:{
- guint64 max_delay, delay;
+ guint64 max_delay;
g_mutex_lock (&self->lock);
max_delay = g_value_get_uint64 (value);
- delay = self->delay;
if (GST_STATE (self) > GST_STATE_READY) {
GST_ERROR_OBJECT (self, "Can't change maximum delay in"
" PLAYING or PAUSED state");
} else {
- self->delay = delay;
self->max_delay = max_delay;
}
g_mutex_unlock (&self->lock);