Function rsmpeg::ffi::av_timecode_init_from_components[][src]

pub unsafe extern "C" fn av_timecode_init_from_components(
    tc: *mut AVTimecode,
    rate: AVRational,
    flags: i32,
    hh: i32,
    mm: i32,
    ss: i32,
    ff: i32,
    log_ctx: *mut c_void
) -> i32
Expand description

Init a timecode struct from the passed timecode components.

@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 flags miscellaneous flags such as drop frame, +24 hours, … (see AVTimecodeFlag) @param hh hours @param mm minutes @param ss seconds @param ff frames @return 0 on success, AVERROR otherwise