The live entry is the last one whose start is at or before seconds, the incoming shot winning inside a transition overlap and the later of two equal starts winning a full-length dissolve; playbackCursor applies the same rule while sweeping forward, so both return the same sample. Because a cut timeline's starts never decrease and each entry ends at or after the next one starts, that entry is also the last whose span contains the instant.
Precondition: seconds lies within [0, runtime) and the timeline came from a sequence that passed cutSequence. Outside that range the answer is the first entry before 0 and the last entry from runtime on, which is not a frame anyone draws, so resolveSequencePlayback range-checks first.
Resolve one output instant against an already-built sequenceTimeline: the random-access resolver behind resolveSequencePlayback.
The live entry is the last one whose start is at or before
seconds, the incoming shot winning inside a transition overlap and the later of two equal starts winning a full-length dissolve; playbackCursor applies the same rule while sweeping forward, so both return the same sample. Because a cut timeline's starts never decrease and each entry ends at or after the next one starts, that entry is also the last whose span contains the instant.Precondition:
secondslies within[0, runtime)and the timeline came from a sequence that passedcutSequence. Outside that range the answer is the first entry before0and the last entry fromruntimeon, which is not a frame anyone draws, so resolveSequencePlayback range-checks first.