diff options
author | Max Kellermann <max@duempel.org> | 2009-11-02 17:01:17 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-02 17:01:17 +0100 |
commit | d1742a2330af968c8ca453855ad0604f4998428b (patch) | |
tree | 29243de279d77d8af5f4228479d348cf9b27de73 /src/poison.h | |
parent | 5555d30bbd492be4241779578327a7fe3a7d99a1 (diff) | |
download | mpd-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