Merge "Fix rate control bug with recode all."