Type Property

zero

Use this constant to initialize a CMTime to 0.

Declaration

static let zero: CMTime

Discussion

Do not test against this using (time == kCMTimeZero), there are many CMTimes other than this that are also 0. Use CMTimeCompare(time, kCMTimeZero) instead.