videoComposition(_:shouldContinueValidatingAfterFindingInvalidTrackIDIn:layerInstruction:asset:)
Reports a video composition layer instruction that does not correspond to the track ID used for the composition’s animation or to a track of the asset.
Declaration
optional func videoComposition(_ videoComposition: AVVideoComposition, shouldContinueValidatingAfterFindingInvalidTrackIDIn videoCompositionInstruction: any AVVideoCompositionInstructionProtocol, layerInstruction: AVVideoCompositionLayerInstruction, asset: AVAsset) -> BoolParameters
- videoComposition:
The video composition being validated.
- videoCompositionInstruction:
The video composition instruction.
- layerInstruction:
The layer instruction.
- asset:
The underlying asset.
Return Value
true if the video composition should continue validation in order to report additional problems that may exist, otherwise false.
Discussion
The asset track is specified in the isValid(for:timeRange:validationDelegate:) method.