diff options
Diffstat (limited to 'ext/ladspa')
-rw-r--r-- | ext/ladspa/gstsignalprocessor.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/ext/ladspa/gstsignalprocessor.c b/ext/ladspa/gstsignalprocessor.c index 25200d4f..9caf7b7b 100644 --- a/ext/ladspa/gstsignalprocessor.c +++ b/ext/ladspa/gstsignalprocessor.c @@ -287,7 +287,6 @@ gst_signal_processor_event (GstPad * pad, GstEvent * event) { GstSignalProcessor *self; GstSignalProcessorClass *bclass; - gboolean ret = FALSE; gboolean unlock; self = GST_SIGNAL_PROCESSOR (GST_PAD_PARENT (pad)); @@ -296,20 +295,7 @@ gst_signal_processor_event (GstPad * pad, GstEvent * event) if (bclass->event) bclass->event (self, event); - unlock = FALSE; - - switch (GST_EVENT_TYPE (event)) { - case GST_EVENT_FLUSH_STOP: - case GST_EVENT_EOS: - GST_STREAM_LOCK (pad); - unlock = TRUE; - break; - default: - break; - } ret = gst_pad_event_default (pad, event); - if (unlock) - GST_STREAM_UNLOCK (pad); return ret; } @@ -476,8 +462,6 @@ gst_signal_processor_getrange (GstPad * pad, guint64 offset, self = GST_SIGNAL_PROCESSOR (GST_PAD_PARENT (pad)); - GST_STREAM_LOCK (pad); - if (spad->pen) { *buffer = spad->pen; spad->pen = NULL; @@ -497,8 +481,6 @@ gst_signal_processor_getrange (GstPad * pad, guint64 offset, } } - GST_STREAM_UNLOCK (pad); - return ret; } @@ -547,8 +529,6 @@ gst_signal_processor_chain (GstPad * pad, GstBuffer * buffer) self = GST_SIGNAL_PROCESSOR (GST_PAD_PARENT (pad)); - GST_STREAM_LOCK (pad); - gst_signal_processor_pen_buffer (self, pad, buffer); if (self->pending_in == 0) { @@ -557,8 +537,6 @@ gst_signal_processor_chain (GstPad * pad, GstBuffer * buffer) gst_signal_processor_do_pushes (self); } - GST_STREAM_UNLOCK (pad); - return self->state; } |