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.

It's hard to see in that diff, but if you click on View, you see the { } after the case.