mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 15:50:59 +00:00
FS-7508: this setting no longer needs to be mult by 4 in recent vpx
This commit is contained in:
parent
2c9121cd85
commit
4a7418dca5
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user