Merge if condition check to lessen differences to vo_fbdev.c.