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. --- gst/tta/gstttaparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/tta/gstttaparse.c') diff --git a/gst/tta/gstttaparse.c b/gst/tta/gstttaparse.c index cb37ea0b..e7d65164 100644 --- a/gst/tta/gstttaparse.c +++ b/gst/tta/gstttaparse.c @@ -187,7 +187,7 @@ gst_tta_parse_src_event (GstPad * pad, GstEvent * event) } else { gst_pad_pause_task (ttaparse->sinkpad); } - GST_STREAM_LOCK (ttaparse->sinkpad); + GST_PAD_STREAM_LOCK (ttaparse->sinkpad); switch (start_type) { case GST_SEEK_TYPE_CUR: @@ -216,7 +216,7 @@ gst_tta_parse_src_event (GstPad * pad, GstEvent * event) gst_pad_start_task (ttaparse->sinkpad, (GstTaskFunction) gst_tta_parse_loop, ttaparse); - GST_STREAM_UNLOCK (ttaparse->sinkpad); + GST_PAD_STREAM_UNLOCK (ttaparse->sinkpad); } else { res = FALSE; -- cgit v1.2.1