Multitrack was previously computing the end of videos incorrectly, causing the trivial case (where the end of a video to composite was infinite, therefore the length of the combined video should not change) to cause a crash, due to the unless function returning void when the given condition is satisfied.
This change replaces the unless condition in multitrack with an if statement, correctly leaving the length unchanged when a clip of arbitrary length is composited with a track of a known length.
Multitrack was previously computing the end of videos incorrectly, causing the trivial case (where the end of a video to composite was infinite, therefore the length of the combined video should not change) to cause a crash, due to the unless function returning void when the given condition is satisfied.
This change replaces the unless condition in multitrack with an if statement, correctly leaving the length unchanged when a clip of arbitrary length is composited with a track of a known length.