Skip to content
  • Rémi Denis-Courmont's avatar
    decoder: handle pause within the decoder thread · 5b2de769
    Rémi Denis-Courmont authored
    This removes the last direct (ab)use of the audio output object from
    the input thread, and the penultimate one of the video output object.
    
    This solves some race conditions whereby the output pause state was
    enabled by the input thread, while the decoder thread had decoded data
    blocks to queue for playing. Decoded blocks should never get queued
    during pause.
    5b2de769