Instance Method

canAddOutput:

Returns a Boolean value that indicates whether to add an output to the receiver.

Declaration

- (BOOL)canAddOutput:(AVAssetReaderOutput *)output;

Parameters

output

The reader output tested.

Return Value

YES if you can add output to the receiver, otherwise NO.

Discussion

You can't add an output that reads from a track of an asset other than the asset used to initialize the receiver.

See Also

Managing Outputs

outputs

The outputs from which clients of the reader can read media data.

- addOutput:

Adds an output to the receiver.