FS-7508: use all the cpus

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:47:13 -05:00
1 parent 7c294f242f
commit 2bbe417fab
1 file changed
+1 -1
+1 -1
View File
@@ -177,7 +177,7 @@ static switch_status_t init_encoder(switch_codec_t *codec)
config->rc_target_bitrate = context->bandwidth;
config->g_lag_in_frames = 0;
config->kf_max_dist = 2000;
config->g_threads = (cpus > 1) ? 2 : 1;
config->g_threads = cpus;//(cpus > 1) ? 2 : 1;
if (context->is_vp9) {
//config->rc_dropframe_thresh = 2;