• Max Kellermann's avatar
    PlayerThread: reduce the number of DecoderThread wakeups · 77c63511
    Max Kellermann authored
    After the number of decoded chunks has fallen below the threshold, the
    PlayerThread woke up the DecoderThread over and over.  This commit
    adds a boolean flag that avoids these duplicate wakeups, and thus
    reduces the number of system calls.
    77c63511
PlayerThread.cxx 24.4 KB