Skip to main content

threads_up_to

Function threads_up_to 

Source
fn threads_up_to(settings: &CaptureSettings, most: usize) -> i32
Expand description

The encode threads a software session spreads across, between one and most: one less than the host’s cores, or one alone where cpu_encode_threading is off. The conversion ahead of the encoder runs on as many.