vdpau: check video surface and decoder capabilities