FS-7508: parse both bw vars the same

This commit is contained in:
Anthony Minessale authored and Michael Jerris committed 2015-05-28 12:46:57 -05:00
1 parent 58a8d5daa6
commit 8d3f93152e
2 files changed
+10 -1

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ static switch_status_t init_codec(switch_codec_t *codec)
if (context->codec_settings.video.bandwidth) {
context->bandwidth = context->codec_settings.video.bandwidth;
} else {
context->bandwidth = context->codec_settings.video.width * context->codec_settings.video.height / 1024;
context->bandwidth = context->codec_settings.video.width * context->codec_settings.video.height / 512;
}
if (context->bandwidth > 5120) {