From 4a7418dca553cd353552df589f44fd3180ad1494 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 20 Apr 2015 13:56:58 -0500 Subject: [PATCH] FS-7508: this setting no longer needs to be mult by 4 in recent vpx --- src/mod/codecs/mod_vpx/mod_vpx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/codecs/mod_vpx/mod_vpx.c b/src/mod/codecs/mod_vpx/mod_vpx.c index ccb790f069..c7cdafd2bf 100644 --- a/src/mod/codecs/mod_vpx/mod_vpx.c +++ b/src/mod/codecs/mod_vpx/mod_vpx.c @@ -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) {