• Mark Thompson's avatar
    vaapi_encode: Sync to input surface rather than output · 086e4b58
    Mark Thompson authored
    While outwardly bizarre, this change makes the behaviour consistent
    with other VAAPI encoders which sync to the encode /input/ picture in
    order to wait for /output/ from the encoder.  It is not harmful on
    i965 (because synchronisation already happens in vaRenderPicture(),
    so it has no effect there), and it allows the encoder to work on
    mesa/gallium which assumes this behaviour.
    086e4b58
vaapi_encode.c 46.6 KB