]> 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:34 +0000 (12:59 -0500)
src/switch_vpx.c

index 29289feac200804623679268c9a62ec9404c9208..0ce5bb3de88ce4aad80b8d3f70581b576900ab89 100644 (file)
@@ -568,7 +568,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