Updated as a result of changes to the rate change code in ffmpeg