projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
604cc2a
)
audioecho: removed unused variable in set_property
author
Prashant Gotarne
<ps.gotarne@samsung.com>
Mon, 10 Aug 2015 11:40:42 +0000
(17:10 +0530)
committer
Luis de Bethencourt
<luis@debethencourt.com>
Mon, 10 Aug 2015 12:34:11 +0000
(13:34 +0100)
unused local variable 'delay' is removed.
https://bugzilla.gnome.org/show_bug.cgi?id=753450
gst/audiofx/audioecho.c
patch
|
blob
|
history
diff --git
a/gst/audiofx/audioecho.c
b/gst/audiofx/audioecho.c
index 42572aa3c4b2ee421c8c4d5312167a9305ae5aeb..80238274e639e931c131bee5e775ef9a1ed2343b 100644
(file)
--- 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);