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.

Watch it with ?w=0?