DecoderControl: convert mutex and client_cond to a reference

Share the Mutex between the DecoderThread and the PlayerThread.  This
simplifies synchronization between the two threads and fixes a freeze
problem: while the PlayerThread waits for the DeocderThread, it cannot
answer requests from the main thread, and the main thread will block
until the DecoderThread finishes.
This commit is contained in:
Max Kellermann
2013-10-28 10:09:04 +01:00
parent 5b5675cc12
commit 1ad2475f9e
4 changed files with 30 additions and 24 deletions

1
NEWS
View File

@@ -34,6 +34,7 @@ ver 0.18 (2012/??/??)
- mvp: remove obsolete plugin
* improved decoder/output error reporting
* eliminate timer wakeup on idle MPD
* fix unresponsive MPD while waiting for stream
ver 0.17.6 (2013/10/14)
* mixer: