advanced(_:by:)
Generates a new timecode by adding a specified number of frames to the given timecode, handling overflow for seconds, minutes, and hours.
Declaration
static func advanced(_ timecode: AVCaptureTimecode, by framesToAdd: Int64) -> AVCaptureTimecodeParameters
- timecode:
The original Avcapturetimecode to be incremented.
- framesToAdd:
The number of frames to add to the timecode.
Return Value
A new AVCaptureTimecode struct with the updated time values after adding the specified frames.