aboutsummaryrefslogtreecommitdiffstats
path: root/src/poison.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-02 17:01:17 +0100
committerMax Kellermann <max@duempel.org>2009-11-02 17:01:17 +0100
commitd1742a2330af968c8ca453855ad0604f4998428b (patch)
tree29243de279d77d8af5f4228479d348cf9b27de73 /src/poison.h
parent5555d30bbd492be4241779578327a7fe3a7d99a1 (diff)
downloadmpd-d1742a2330af968c8ca453855ad0604f4998428b.tar.gz
mpd-d1742a2330af968c8ca453855ad0604f4998428b.tar.xz
mpd-d1742a2330af968c8ca453855ad0604f4998428b.zip
output_thread: check command before g_cond_wait()
After CANCEL, call g_cond_wait() only if the new command is still NONE. Problem is that ao_command_finished() has to unlock the audio_output object, and in the meantime, the player thread might have submitted a new command.
Diffstat (limited to 'src/poison.h')
0 files changed, 0 insertions, 0 deletions