• Jean-Paul Saman's avatar
    VAAPI: Only accept VAAPI type of pictures when vaapi-xcb is active. · 6ddd92de
    Jean-Paul Saman authored
    Make sure that when the VAAPI-XCB video output has been started no other picture chroma,
    will be accepted. The punishment for not doing this is random crashes, since surfaces are
    shared between display pictures and the decoding thread. The picture is the owner of the
    surface. If not honoring this, then the decoder might write into surfaces being displayed.
    This will result in random crashes since surface memory will be randomly overwritten.
    6ddd92de
va.h 2.53 KB