[][src]Function ffmpeg_dev::sys::ff_choose_timebase

pub unsafe extern "C" fn ff_choose_timebase(
    s: *mut AVFormatContext,
    st: *mut AVStream,
    min_precision: c_int
) -> AVRational

Chooses a timebase for muxing the specified stream.

The chosen timebase allows sample accurate timestamps based on the framerate or sample rate for audio streams. It also is at least as precise as 1/min_precision would be.