[][src]Function stainless_ffmpeg_sys::av_parse_video_rate

pub unsafe extern "C" fn av_parse_video_rate(
    rate: *mut AVRational,
    str: *const c_char
) -> c_int

Parse str and store the detected values in *rate.

@param[in,out] rate pointer to the AVRational which will contain the detected frame rate @param[in] str the string to parse: it has to be a string in the format rate_num / rate_den, a float number or a valid video rate abbreviation @return >= 0 on success, a negative error code otherwise