• Pierre-Eric Pelloux-Prayer's avatar
    v4l2: add condition/signaling to avoid busy loop · a0350a26
    Pierre-Eric Pelloux-Prayer authored
    If the encoder filter takes too much time to encode,
    v4l2 capture filter ends up using 100% cpu because
    its internal list of available image is full.
    
    So when this happens, a simple condition/signaling
    pattern is used to allow the capture thread to wait
    for an empty slot.
    a0350a26