diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2005-11-21 17:37:41 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2005-11-21 17:37:41 +0000 |
commit | a1b51acf055725969dd8b8e85cd067085ba1724f (patch) | |
tree | 7f1163ae70584c5641524ce825ade6f088d1630f /ext/faac | |
parent | 7bbc4c77bc1768f4d0a7553725ab232e272ddd7b (diff) | |
download | gst-plugins-bad-a1b51acf055725969dd8b8e85cd067085ba1724f.tar.gz gst-plugins-bad-a1b51acf055725969dd8b8e85cd067085ba1724f.tar.bz2 gst-plugins-bad-a1b51acf055725969dd8b8e85cd067085ba1724f.zip |
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.
Diffstat (limited to 'ext/faac')
-rw-r--r-- | ext/faac/gstfaac.c | 7 |
1 files changed, 0 insertions, 7 deletions
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); |