pub unsafe extern "C-unwind" fn CMTagCollectionCreateWithVideoOutputPreset(
allocator: Option<&CFAllocator>,
preset: CMTagCollectionVideoOutputPreset,
new_collection_out: NonNull<*const CMTagCollection>,
) -> i32Available on crate features
objc2-core-foundation and objc2-core-media and AVPlayerOutput only.Expand description
Creates a CMTagCollection with the required tags to describe the specified video output requirements.
Convenience constructor to create a CMTagCollection with all of the required tags for use with video output interfaces.
Parameter allocator: CFAllocator to use to create the collection and internal data structures.
Parameter preset: CMTagCollectionVideoOutputPreset representing the desired video output scenario.
Parameter newCollectionOut: Address of a location to the newly created CMTagCollection. The client is responsible for releasing the returned CMTagCollection.
Returns: noErr if successful. Otherwise, an error describing why a tag collection could not be created.