Instance Method

renderContextChanged:

Notifies the custom compositor that a composition will switch to a different render context.

Required.

Declaration

- (void)renderContextChanged:(AVVideoCompositionRenderContext *)newRenderContext;

Parameters

newRenderContext

The new render context that will be handling video composition.

Discussion

Instances of classes implementing the AVVideoComposting protocol must implement this method to be notified when the AVVideoCompositionRenderContext instance handing a video composition changes. AVVideoCompositionRenderContext instances being immutable, such a change will occur every time there is a change in the video composition parameters.

See Also

Render Context Settings

supportsWideColorSourceFrames

A Boolean value that indicates whether the client can handle frames that contain wide color properties.