The US president used his podium to attack the California governor for a decision to commute 548 death sentences.