• Rémi Denis-Courmont's avatar
    Almost wait-free snapshot handling in the vout thread · 8610a92b
    Rémi Denis-Courmont authored
    Using vlc_mutex_trylock(), we make sure that the video output thread
    will not yield because of an incomplete snapshot request. It can still
    yield in the very unlikely case that a thread is doing a snapshot
    request while the video output thread finishes sorting SPUs _and_ there
    already was a pending snapshot earlier.
    8610a92b
video_output.c 65.6 KB