summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-11-21 17:37:41 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-11-21 17:37:41 +0000
commita1b51acf055725969dd8b8e85cd067085ba1724f (patch)
tree7f1163ae70584c5641524ce825ade6f088d1630f /gst
parent7bbc4c77bc1768f4d0a7553725ab232e272ddd7b (diff)
downloadgst-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 'gst')
-rw-r--r--gst/qtdemux/qtdemux.c4
-rw-r--r--gst/tta/gstttaparse.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 9a598554..8d0d5c3e 100644
--- a/gst/qtdemux/qtdemux.c
+++ b/gst/qtdemux/qtdemux.c
@@ -358,7 +358,7 @@ gst_qtdemux_handle_src_event (GstPad * pad, GstEvent * event)
}
gst_pad_event_default (pad, gst_event_new_flush_start ());
- GST_STREAM_LOCK (pad);
+ GST_PAD_STREAM_LOCK (pad);
/* resync to new time */
for (n = 0; n < qtdemux->n_streams; n++) {
@@ -378,7 +378,7 @@ gst_qtdemux_handle_src_event (GstPad * pad, GstEvent * event)
gst_pad_start_task (qtdemux->sinkpad,
(GstTaskFunction) gst_qtdemux_loop_header, qtdemux->sinkpad);
- GST_STREAM_UNLOCK (pad);
+ GST_PAD_STREAM_UNLOCK (pad);
break;
}
default:
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;