Instance Method

videoComposition(_:shouldContinueValidatingAfterFindingInvalidTimeRangeIn:)

Reports a video composition instruction with a time range that is invalid.

Declaration

optional func videoComposition(_ videoComposition: AVVideoComposition, shouldContinueValidatingAfterFindingInvalidTimeRangeIn videoCompositionInstruction: AVVideoCompositionInstructionProtocol) -> Bool

Parameters

videoComposition

The video composition being validated.

videoCompositionInstruction

The video composition instruction.

Return Value

true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.

Discussion

A time range is considered invalid when it overlaps with the time range of a prior instruction, or that contains times earlier than the time range of a prior instruction

See Also

Configuring Validation Methods