---
title: indefinite
framework: coremedia
role: symbol
role_heading: Type Property
path: coremedia/cmtime/indefinite
---

# indefinite

A value that represents an indefinite time.

## Declaration

```swift
static let indefinite: CMTime
```

## Discussion

Discussion Don’t test a time against this constant using (time == indefinite) because there are many that are also indefinite. Use CMTIME_IS_INDEFINITE(_:) instead.

## See Also

### Constants

- [zero](coremedia/cmtime/zero.md)
- [invalid](coremedia/cmtime/invalid.md)
- [negativeInfinity](coremedia/cmtime/negativeinfinity.md)
- [positiveInfinity](coremedia/cmtime/positiveinfinity.md)
