Corrected some script issues with vdpau