]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7508: use all the cpus
authorAnthony Minessale <anthm@freeswitch.org>
Thu, 19 Mar 2015 23:49:50 +0000 (18:49 -0500)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:47:13 +0000 (12:47 -0500)
src/mod/codecs/mod_vpx/mod_vpx.c

index 4d90341c28d316fc266d68bd012967b9f7b409ce..8306c23c3abfd08a8fc785c95a8fc5fbb7888efc 100644 (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;