rc: fixes for 2 pass + vbv to calculate frameSizePlanned accurately.