Patch for find the best video mode using all nine cases (formerly only
two cases are recognized).