[][src]Function ffav_sys::av_timecode_init_from_string

pub unsafe extern "C" fn av_timecode_init_from_string(
    tc: *mut AVTimecode,
    rate: AVRational,
    str_: *const c_char,
    log_ctx: *mut c_void
) -> c_int

Parse timecode representation (hh:mm:ss[:;.]ff).

@param log_ctx a pointer to an arbitrary struct of which the first field is a pointer to an AVClass struct (used for av_log). @param tc pointer to an allocated AVTimecode @param rate frame rate in rational form @param str timecode string which will determine the frame start @return 0 on success, AVERROR otherwise