Function avpriv_set_pts_info

Source
pub unsafe extern "C" fn avpriv_set_pts_info(
    s: *mut AVStream,
    pts_wrap_bits: c_int,
    pts_num: c_uint,
    pts_den: c_uint,
)
Expand description

Set the time base and wrapping info for a given stream. This will be used to interpret the stream’s timestamps. If the new time base is invalid (numerator or denominator are non-positive), it leaves the stream unchanged.

@param s stream @param pts_wrap_bits number of bits effectively used by the pts (used for wrap control) @param pts_num time base numerator @param pts_den time base denominator