Original commit message from CVS:
2008-02-11 Julien Moutte <julien@fluendo.com>
Patch by: Alan Peevers <peeves@pacbell.net>
* ext/alsa/gstalsasink.c: (gst_alsasink_delay): Take appropriate
lock when calling alsa methods.
+2008-02-11 Julien Moutte <julien@fluendo.com>
+
+ Patch by: Alan Peevers <peeves@pacbell.net>
+
+ * ext/alsa/gstalsasink.c: (gst_alsasink_delay): Take appropriate
+ lock when calling alsa methods.
+
2008-02-11 Tim-Philipp Müller <tim at centricular dot net>
* gst/typefind/gsttypefindfunctions.c:
-Subproject commit 961bb6bd997d7c8da6058534e86b4a1361c0fcea
+Subproject commit 05a617c9043ddb78f8578195b18c166d7e1d4c2e
alsa = GST_ALSA_SINK (asink);
+ GST_ALSA_SINK_LOCK (asink);
res = snd_pcm_delay (alsa->handle, &delay);
+ GST_ALSA_SINK_UNLOCK (asink);
if (G_UNLIKELY (res < 0)) {
GST_DEBUG_OBJECT (alsa, "snd_pcm_delay returned %d", res);
delay = 0;