aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-09-01 18:21:40 +0200
committerMax Kellermann <max@duempel.org>2011-09-01 18:21:46 +0200
commite7abdab58dd566d9b80fb5caf5dee867f184d913 (patch)
treefe7be9fb749663bf0dbe2da44139074a55512f6b /src/output
parent13cdc9a9f8944d124da3f6a25dfc93cd9f11997b (diff)
downloadmpd-e7abdab58dd566d9b80fb5caf5dee867f184d913.tar.gz
mpd-e7abdab58dd566d9b80fb5caf5dee867f184d913.tar.xz
mpd-e7abdab58dd566d9b80fb5caf5dee867f184d913.zip
output/osx: signal the GCond while mutex is locked
Diffstat (limited to '')
-rw-r--r--src/output/osx_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/osx_plugin.c b/src/output/osx_plugin.c
index ce82656bd..2c150fc41 100644
--- a/src/output/osx_plugin.c
+++ b/src/output/osx_plugin.c
@@ -143,8 +143,8 @@ osx_render(void *vdata,
if (od->pos >= od->buffer_size)
od->pos = 0;
- g_mutex_unlock(od->mutex);
g_cond_signal(od->condition);
+ g_mutex_unlock(od->mutex);
buffer->mDataByteSize = buffer_size;