summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2006-02-20 13:08:50 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2006-02-20 13:08:50 +0000
commitacf577a8048135b93e0986080dd26d5b99dbf2bb (patch)
tree6bdcbba5b311cfa9f0746ad36805ae73fee8199e
parentaafdd773a2a466d9bdd7df9c00be759058ff3679 (diff)
downloadgst-plugins-bad-acf577a8048135b93e0986080dd26d5b99dbf2bb.tar.gz
gst-plugins-bad-acf577a8048135b93e0986080dd26d5b99dbf2bb.tar.bz2
gst-plugins-bad-acf577a8048135b93e0986080dd26d5b99dbf2bb.zip
ext/ladspa/gstsignalprocessor.c: Fix compilation of LADPSA. It doesn't seem to work, and isn't enabled for the build,...
Original commit message from CVS: * ext/ladspa/gstsignalprocessor.c: (gst_signal_processor_event), (gst_signal_processor_process): Fix compilation of LADPSA. It doesn't seem to work, and isn't enabled for the build, but it helps me win the feature-count competitions ooh yeah.
-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) {