Deal with api change in libva