From: Brian West Date: Mon, 3 Aug 2015 20:39:19 +0000 (-0500) Subject: revert X-Git-Tag: v1.6.2~195 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc201f458893788ce4608d7ff4a04b3d670e3437;p=thirdparty%2Ffreeswitch.git revert --- diff --git a/src/mod/codecs/mod_vpx/mod_vpx.c b/src/mod/codecs/mod_vpx/mod_vpx.c index 121c425cc7..bb24544ba0 100644 --- a/src/mod/codecs/mod_vpx/mod_vpx.c +++ b/src/mod/codecs/mod_vpx/mod_vpx.c @@ -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;