From 82027ebfeb6a7e254a8d52a2c2ef2a39f7f95bc1 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 4 Mar 2011 17:26:41 +0100 Subject: [PATCH] sfsink: use basesink preroll lock --- ext/sndfile/gstsfsink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/sndfile/gstsfsink.c b/ext/sndfile/gstsfsink.c index a4ef877fa2..56dc4b0069 100644 --- a/ext/sndfile/gstsfsink.c +++ b/ext/sndfile/gstsfsink.c @@ -415,9 +415,9 @@ gst_sf_sink_loop (GstPad * pad) basesink->offset += GST_BUFFER_SIZE (buf); - GST_PAD_PREROLL_LOCK (pad); + GST_BASE_SINK_PREROLL_LOCK (basesink); result = gst_sf_sink_render (basesink, buf); - GST_PAD_PREROLL_UNLOCK (pad); + GST_BASE_SINK_PREROLL_UNLOCK (basesink); if (G_UNLIKELY (result != GST_FLOW_OK)) goto paused;