Global Variable

kCMTimeInvalid

Use this constant to initialize an invalid CMTime.

Declaration

const CMTime kCMTimeInvalid;

Discussion

All fields are 0, so you can calloc or fill with 0's to make lots of them. Do not test against this using (time == kCMTimeInvalid), there are many CMTimes other than this that are also invalid. Use CMTIME_IS_INVALID(time) instead.