提交 4a7418dc authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Michael Jerris

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

上级 2c9121cd
......@@ -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) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论