diff options
author | Max Kellermann <max@duempel.org> | 2008-10-27 10:10:40 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-27 10:10:40 +0100 |
commit | 4a71f66256d02c46bc2bb3665cc6451a2101d5ac (patch) | |
tree | 4eeb79b8e8a084a22e681a269387814a8698c033 /src/decoder/oggvorbis_plugin.c | |
parent | 0d30d51f07f1c55caf974c671fa702307c163878 (diff) | |
download | mpd-4a71f66256d02c46bc2bb3665cc6451a2101d5ac.tar.gz mpd-4a71f66256d02c46bc2bb3665cc6451a2101d5ac.tar.xz mpd-4a71f66256d02c46bc2bb3665cc6451a2101d5ac.zip |
player: reset pc.command when decoder startup fails
When the decoder failed to start, the function do_play() returned,
still having pc.command==PLAY. This is because pc.command was reset
only when the decoder started up successfully. Add another
player_command_finished() call in the error handler.
Diffstat (limited to 'src/decoder/oggvorbis_plugin.c')
0 files changed, 0 insertions, 0 deletions