diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-03-04 17:26:41 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-03-04 17:26:41 +0100 |
commit | 82027ebfeb6a7e254a8d52a2c2ef2a39f7f95bc1 (patch) | |
tree | 725bca0de39eb08a7ba58ea5bf5ce0cf22b07349 /ext | |
parent | 92c192852a87af3a403e3de4ed0675cc147837c3 (diff) | |
download | gstreamer-plugins-bad-82027ebfeb6a7e254a8d52a2c2ef2a39f7f95bc1.tar.gz |
sfsink: use basesink preroll lock
Diffstat (limited to 'ext')
-rw-r--r-- | ext/sndfile/gstsfsink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sndfile/gstsfsink.c b/ext/sndfile/gstsfsink.c index a4ef877fa..56dc4b006 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; |