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

--HG--
extra : amend_source : 49c54a540cc237659416be7d5fb53241fb0094e4