HandleChangeCurrentStreamFormat
The system calls this virtual method when the stream’s format changes.
Declaration
virtual kern_return_t HandleChangeCurrentStreamFormat(const IOUserVideoStreamBasicDescription *in_format);Parameters
- in_format:
Pointer to a basic description, to be set on the stream.
Return Value
kIOReturnSuccess on success. Upon success the stream’s format should be updated.
Discussion
The default implementation calls SetCurrentStreamFormat() and returns kIOReturnSuccess. Subclass and override this method to handle changing stream format and return kIOReturnSuccess upon success.