aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-04-25 15:19:01 +0200
committerMax Kellermann <max@duempel.org>2009-04-25 15:19:01 +0200
commit3888ef2f5504ab5b6b92d9fe1a9a4c0cbabecf0b (patch)
treefedd39a1acb36ca533cb8aaaafe5d530771034e1 /test
parentceb00f787e2e0ea149a411dc7f2e1102e458dfba (diff)
downloadmpd-3888ef2f5504ab5b6b92d9fe1a9a4c0cbabecf0b.tar.gz
mpd-3888ef2f5504ab5b6b92d9fe1a9a4c0cbabecf0b.tar.xz
mpd-3888ef2f5504ab5b6b92d9fe1a9a4c0cbabecf0b.zip
decoder_control: properly cancel an existing command in dc_stop()
When the decoder thread has a pending command, send the STOP command to cancel this command. Send STOP again if the decoder thread is still running after that, just in case the decoder thread has executed the previous command (which was overwritten).
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions