Function obs_output_set_video_encoder2

Source
pub unsafe extern "C" fn obs_output_set_video_encoder2(
    output: *mut obs_output_t,
    encoder: *mut obs_encoder_t,
    idx: usize,
)
Expand description

Sets the current video encoder associated with this output, required for encoded outputs.

The idx parameter specifies the video encoder index. Only used with outputs that have multiple video outputs (FFmpeg typically), otherwise the parameter is ignored.