Convert running_time into a position in the segment so that Segment.toRunningTime with that position returns running_time.
the format of the segment.
the running_time in the segment
the position in the segment for running_time. This function returns -1 when running_time is -1 or when it is not inside segment.
Deprecated: Use Segment.positionFromRunningTime instead.
Convert running_time into a position in the segment so that Segment.toRunningTime with that position returns running_time.