]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-10647: [mod_av] Video quality degragation from 1.6.17 to 1.6.19 #resolve
authorAnthony Minessale <anthm@freeswitch.org>
Wed, 6 Sep 2017 17:59:18 +0000 (12:59 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Wed, 6 Sep 2017 17:59:18 +0000 (12:59 -0500)
src/switch_vpx.c

index 76cc5ad7b1b293823fe8c73c3df9e4b5abc16213..02b5f3aaddf03ebcc3fd795ea299a83043da88c5 100644 (file)
@@ -573,7 +573,7 @@ static switch_status_t init_encoder(switch_codec_t *codec)
                        // The static threshold imposes a change threshold on blocks below which they will be skipped by the encoder.
                        vpx_codec_control(&context->encoder, VP8E_SET_STATIC_THRESHOLD, 100);
                        //Set cpu usage, a bit lower than normal (-6) but higher than android (-12)
-                       vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, -16);
+                       vpx_codec_control(&context->encoder, VP8E_SET_CPUUSED, -6);
                        vpx_codec_control(&context->encoder, VP8E_SET_TOKEN_PARTITIONS, token_parts);
 
                        // Enable noise reduction