pub unsafe extern "C" fn ltc_frame_increment(
    frame: *mut LTCFrame,
    fps: c_int,
    standard: LTC_TV_STANDARD,
    flags: c_int
) -> c_int
Expand description

Increment the timecode by one Frame (1/framerate seconds) and set the Frame’s parity bit accordingly (see \ref ltc_frame_set_parity)

@param frame the LTC-timecode to increment @param fps integer framerate (for drop-frame-timecode set frame->dfbit and round-up the fps). @param standard the TV standard to use for parity bit assignment if set to 1 the 25fps standard is enabled and LTC Frame bit 59 instead of 27 is used for the parity. It only has only has effect flag bit 4 (LTC_NO_PARITY) is cleared. @param flags binary combination of \ref LTC_BG_FLAGS - here only LTC_USE_DATE and LTC_NO_PARITY are relevant. If the bit 0 (1) is set (1) interpret user-data as date and increment date if timecode wraps after 24h. (Note: leap-years are taken into account, but since the year is two-digit only, the 100,400yr rules are ignored. “00” is assumed to be year 2000 which was a leap year.) @return 1 if timecode was wrapped around after 23:59:59:ff, 0 otherwise