Function obs_encoder_set_gpu_scale_type

Source
pub unsafe extern "C" fn obs_encoder_set_gpu_scale_type(
    encoder: *mut obs_encoder_t,
    gpu_scale_type: obs_scale_type,
)
Expand description

Enable/disable GPU based scaling for a video encoder. OBS_SCALE_DISABLE disables GPU based scaling (default), any other value enables GPU based scaling. If the encoder is active, this function will trigger a warning, and do nothing.