FS-7508: this setting no longer needs to be mult by 4 in recent vpx

This commit is contained in:
Anthony Minessale 2015-04-20 13:56:58 -05:00 committed by Michael Jerris
parent 2c9121cd85
commit 4a7418dca5
1 changed files with 2 additions and 2 deletions

View File

@ -309,9 +309,9 @@ static switch_status_t init_encoder(switch_codec_t *codec)
}
if (context->codec_settings.video.bandwidth) {
context->bandwidth = context->codec_settings.video.bandwidth * 4;
context->bandwidth = context->codec_settings.video.bandwidth;
} else {
context->bandwidth = ((context->codec_settings.video.width * context->codec_settings.video.height) / 900) * 4;
context->bandwidth = ((context->codec_settings.video.width * context->codec_settings.video.height) / 900);
}
if (context->bandwidth > 40960) {