• Jean-Paul Saman's avatar
    codec/avcodec/vaapi: Pass VASurface' s to vaapi-x11 vout · a844bbbb
    Jean-Paul Saman authored
    When -V vaapi-x11 is used (and ffmpeg-vaapi-x11 option), then pass
    VASurface information in picture->p_sys. This only works with direct
    rendering and video filters that directly operate on the picture are
    a no go.
    
    * vaapi.c: protect surface->i_refcount
    * vaapi_x11.c: use direct rendering
    a844bbbb
vaapi.c 15.7 KB