President Obama says ending the ban on gays will strengthen the country's military.