Add fixes for ffmpeg work well with recent Mesa3D VA-API impl.
- Upstream-patches: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=11693&state=*
- Ref: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29400
Signed-off-by: David Heidelberg david@ixit.cz
Edited by David Heidelberg