Skip to main content

CMTimebaseCreateWithMasterTimebase

Function CMTimebaseCreateWithMasterTimebase 

Source
pub unsafe fn CMTimebaseCreateWithMasterTimebase(
    allocator: CFAllocatorRef,
    masterTimebase: CMTimebaseRef,
    timebaseOut: *mut CMTimebaseRef,
) -> OSStatus
Expand description

Creates a timebase using another timebase as its master. Wraps CMTimebaseCreateWithMasterTimebase.

ยงSafety

timebaseOut must be writable, and every supplied Core Media reference must be valid for the duration of the call.