summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/ladspa/gstsignalprocessor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/ladspa/gstsignalprocessor.c b/ext/ladspa/gstsignalprocessor.c
index 375ea839..3f02e585 100644
--- a/ext/ladspa/gstsignalprocessor.c
+++ b/ext/ladspa/gstsignalprocessor.c
@@ -287,7 +287,7 @@ gst_signal_processor_event (GstPad * pad, GstEvent * event)
{
GstSignalProcessor *self;
GstSignalProcessorClass *bclass;
- gboolean unlock;
+ gboolean ret;
self = GST_SIGNAL_PROCESSOR (GST_PAD_PARENT (pad));
bclass = GST_SIGNAL_PROCESSOR_GET_CLASS (self);
@@ -310,6 +310,8 @@ gst_signal_processor_process (GstSignalProcessor * self)
g_return_if_fail (self->pending_in == 0);
g_return_if_fail (self->pending_out == 0);
+ elem = GST_ELEMENT (self);
+
/* arrange the output buffers */
for (l1 = elem->sinkpads, l2 = elem->srcpads; l1 || l2;
l1 = l1->next, l2 = l2->next) {