Transcoder: fix progression computing

Avoid floating precision errors at the end of the process, so that progress never exceeds max duration