AVTimestamp
public enum AVTimestamp
Undocumented
-
Internal timebase represented as integer
Declaration
Swift
public static let timebase: Int32 -
Internal timebase represented as fractional value
Declaration
Swift
public static let timebaseQ: AVRational -
Undefined timestamp value.
Usually reported by demuxer that work on containers that do not provide either pts or dts.
Declaration
Swift
public static let noPTS: Int64 -
Compare two timestamps each in its own timebase.
Warning
The result of the function is undefined if one of the timestamps is outside the
int64_trange when represented in the other’s timebase.Declaration
Swift
public static func compareTimestamp( _ ts_a: Int64, _ tb_a: AVRational, _ ts_b: Int64, _ tb_b: AVRational ) -> IntReturn Value
One of the following values:
- -1 if
ts_ais beforets_b - 1 if
ts_ais afterts_b - 0 if they represent the same position
- -1 if
View on GitHub
Install in Dash
AVTimestamp Enumeration Reference