The number of segments completed at time ms — i.e. the count of segments whose cumulative END
time is ≤ ms (binary search). 0 before the first segment finishes; count at/after the end. This
is exactly a scrub cut position (segments [0, result) are done), so it maps straight to a
segment-index scrub.
The number of segments completed at time
ms— i.e. the count of segments whose cumulative END time is ≤ms(binary search). 0 before the first segment finishes;countat/after the end. This is exactly a scrub cut position (segments[0, result)are done), so it maps straight to a segment-index scrub.