• Max Kellermann's avatar
    DecoderControl: convert mutex and client_cond to a reference · 1ad2475f
    Max Kellermann authored
    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.
    1ad2475f
DecoderControl.cxx 2.88 KB