• Steve Lhomme's avatar
    video_output: drop reused pictures if they are late · ff4daed6
    Steve Lhomme authored
    The reused picture happens when the decoding+display starts or after a flush.
    In the former case it's possible the decoder took some time and we have fresher
    pictures available.
    In the latter case the kept decoded picture may be very old and we shouldn't be
    reusing if it's late.
    In both cases, there will be fresher ones coming if the one left was too late.