FS-7500: another round of trying to make things work

This commit is contained in:
Anthony Minessale
2014-11-24 18:39:10 -05:00
committed by Michael Jerris
parent 81bec5ebd0
commit 01fda5748c
6 changed files with 68 additions and 44 deletions

View File

@@ -99,7 +99,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 {
int x = (context->codec_settings.video.width / 1000) + 1;
int x = (context->codec_settings.video.width / 100) + 1;
context->bandwidth = context->codec_settings.video.width * context->codec_settings.video.height * x;
}