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