mv range setting refactor

reviewed at https://rbcommons.com/s/OpenH264/r/183/