try with no threads in vp8 for a while %noWIR

This commit is contained in:
Anthony Minessale 2015-08-01 04:31:12 -05:00
parent 90b7ed72d7
commit 6813d6647b
1 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ static switch_status_t init_decoder(switch_codec_t *codec)
// context->decoder_init = 0;
//}
cfg.threads = switch_core_cpu_count();
//cfg.threads = switch_core_cpu_count();
if (!context->is_vp9) { // vp8 only
dec_flags = VPX_CODEC_USE_POSTPROC;
@ -337,7 +337,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 > 1) ? 2 : 1;
if (context->is_vp9) {
//config->rc_dropframe_thresh = 2;