player_thread: add flag "output_open", fixes assertion failure

Previously, the condition "defined(play_audio_format)" was used to see
if an output device has been opened, but if the device had failed on
startup, an assertion failure could occur.  This patch adds a separate
flag.
This commit is contained in:
Max Kellermann
2011-10-06 20:30:46 +02:00
parent 63b33b6ec5
commit b2f03e76ff
2 changed files with 18 additions and 5 deletions

1
NEWS
View File

@@ -14,6 +14,7 @@ ver 0.16.5 (2010/??/??)
- make seeking to CUE track more reliable
- the "seek" command works when MPD is stopped
- restore song position from state file (bug fix)
- fix crash that sometimes occurred when audio device fails on startup
* WIN32: close sockets properly
* install systemd service file if systemd is available