From a1b51acf055725969dd8b8e85cd067085ba1724f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 21 Nov 2005 17:37:41 +0000 Subject: Fix for stream lock updates. Original commit message from CVS: * ext/faac/gstfaac.c: (gst_faac_sink_event): * gst/qtdemux/qtdemux.c: (gst_qtdemux_handle_src_event): * gst/tta/gstttaparse.c: (gst_tta_parse_src_event): Fix for stream lock updates. --- ext/faac/gstfaac.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'ext/faac/gstfaac.c') diff --git a/ext/faac/gstfaac.c b/ext/faac/gstfaac.c index 52ce8177..f89ad751 100644 --- a/ext/faac/gstfaac.c +++ b/ext/faac/gstfaac.c @@ -431,8 +431,6 @@ gst_faac_sink_event (GstPad * pad, GstEvent * event) { GstBuffer *outbuf; - GST_STREAM_LOCK (pad); - /* flush first */ ret = TRUE; do { @@ -455,18 +453,13 @@ gst_faac_sink_event (GstPad * pad, GstEvent * event) } while (ret); ret = gst_pad_event_default (pad, event); - GST_STREAM_UNLOCK (pad); break; } case GST_EVENT_NEWSEGMENT: - GST_STREAM_LOCK (pad); ret = gst_pad_push_event (faac->srcpad, event); - GST_STREAM_UNLOCK (pad); break; case GST_EVENT_TAG: - GST_STREAM_LOCK (pad); ret = gst_pad_event_default (pad, event); - GST_STREAM_UNLOCK (pad); break; default: ret = gst_pad_event_default (pad, event); -- cgit v1.2.1