diff options
author | Max Kellermann <max@duempel.org> | 2009-04-25 15:19:01 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-04-25 15:19:01 +0200 |
commit | 3888ef2f5504ab5b6b92d9fe1a9a4c0cbabecf0b (patch) | |
tree | fedd39a1acb36ca533cb8aaaafe5d530771034e1 /src/output_print.h | |
parent | ceb00f787e2e0ea149a411dc7f2e1102e458dfba (diff) | |
download | mpd-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 'src/output_print.h')
0 files changed, 0 insertions, 0 deletions