diff --git a/stdlib/public/SDK/CoreMedia/CMTimeRange.swift b/stdlib/public/SDK/CoreMedia/CMTimeRange.swift index 183e1f129b1fd..6050e0e635f3a 100644 --- a/stdlib/public/SDK/CoreMedia/CMTimeRange.swift +++ b/stdlib/public/SDK/CoreMedia/CMTimeRange.swift @@ -29,7 +29,9 @@ extension CMTimeRange { public var isValid: Bool { return self.start.isValid && - self.duration.isValid && (self.duration.epoch == 0) + self.duration.isValid && + (self.duration.epoch == 0) && + (self.duration.value >= 0) } public var isIndefinite: Bool {