Coverity vaapi

Thanks much. You may decided where to squash which hunk. The first VAAPI one got a bit bigger cause of the -fpermissive default compiler settings.

But i suppose it's fernetmentas call. That is a real bug and can go in separate from this pull.