Hi, we’ve noticed an inconsistency with UMovieSceneSequencePlayer::GetEndTime(). It does not take into account DurationSubFrames. See UMovieSceneSequencePlayer::GetDuration() for comparison. Also, the comment above DurationFrames property seemed to imply it was envisioned as FFrameNumber EndTime, rather than a duration. Looks like a bug to me, so I’m reporting it here.
I would say, feel free to adjust the code to something like this:
FQualifiedFrameTime GetEndTime() const { return FQualifiedFrameTime(FFrameTime(StartTime + DurationFrames, DurationSubFrames), PlayPosition.GetInputRate()); }This should match the paradigm in GetDuration as you noted, but I want to highlight that if you’ve adjusted your content to account for any drift at all, this would lead to issues.