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 38d9a6807c
commit da932c6a6b
+2 -2
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) {