Haihao's VAAPI patches
Merge pull request #1910 from itechatmxc/master

Patches to libva and libva-intel driver to solve issues with some h.264 videos