summaryrefslogtreecommitdiffstats
path: root/gst/tta/gstttaparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/tta/gstttaparse.c')
-rw-r--r--gst/tta/gstttaparse.c4
1 files changed, 2 insertions, 2 deletions
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;