From 63eec0ee3a57b639fe552b3099bbe6bffd401898 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 6 Sep 2017 12:59:18 -0500 Subject: [PATCH] FS-10647: [mod_av] Video quality degragation from 1.6.17 to 1.6.19 #resolve --- src/switch_vpx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_vpx.c b/src/switch_vpx.c index 76cc5ad7b1..02b5f3aadd 100644 --- a/src/switch_vpx.c +++ b/src/switch_vpx.c @@ -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