Skip to content
  • flx42's avatar
    vout: remove flag is_sleeping from vout_control_t · d72d22ae
    flx42 authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    Previously, the is_sleeping flag was not set to true if a deadline was
    passed to vout_control_Pop. Consequently, the condition variable would
    not be signalled by function vout_control_Wake, called by
    vout_PutPicture to give a vout a picture to display. Thus, the vout
    would not wake up even when receiving several pictures, instead the
    vout waits until the end of the deadline. If the deadline was computed
    as the "refresh" deadline from ThreadDisplayPicture, the sleep time
    can be as high as 60-70 ms.
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    d72d22ae