LONDON, England --President Barack Obama is offering some advice to young activists: Be realistic, and be ready to compromise.
Obama says marriage equality advocates were effective in persuading him to shift his stance on gay marriage. He credits the movement, as well as his two daughters, with convincing him and others that the issue wasn't just a legal matter, but about a "sense of stigma."
VIDEO: Co-founder of Black Lives Matter speaks to students at Prairie View A&M
He says that's something he should have understood earlier.
Obama didn't shower the same praise on the Black Lives Matter campaign. He says the criminal justice and racial equality activists have been "really effective in bringing attention to a problem." But he warned that when politicians are ready to address a problem, activists have to be ready to present a realistic agenda.
VIDEO: Beyonce's Pro-Black anthem
He says, "You can't just keep on yelling at them. You can't refuse to meet because that might compromise the purity of your position."
Obama says advocates must be prepared to negotiate and "occasionally take half a loaf."
VIDEO: Teens allegedly assault veteran over Black Lives Matter