pub unsafe extern "C" fn obs_output_get_video_encoder2(
output: *const obs_output_t,
idx: usize,
) -> *mut obs_encoder_t
Expand description
Returns the current video encoder associated with this output.
The idx parameter specifies the video encoder index. Only used with outputs that have multiple video outputs (FFmpeg typically), otherwise specifying an idx > 0 returns a NULL.