FS-10647: [mod_av] Video quality degragation from 1.6.17 to 1.6.19 #resolve

This commit is contained in:
Anthony Minessale 2017-09-06 12:59:18 -05:00
parent 4c3e34145f
commit 968beedaf3

View 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