pub unsafe extern "C" fn obs_encoder_set_frame_rate_divisor(
encoder: *mut obs_encoder_t,
divisor: u32,
) -> bool
Expand description
Set frame rate divisor for a video encoder. This allows recording at a partial frame rate compared to the base frame rate, e.g. 60 FPS with divisor = 2 will record at 30 FPS, with divisor = 3 at 20, etc.
Can only be called on stopped encoders, changing this on the fly is not supported