Allow Vp8FrameBufferController to override resilience mode
Bug: webrtc:10382 Change-Id: I626d616d7a1b50a696f5378345d026f6dce5b97f Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134207 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Elad Alon <eladalon@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27777}
This commit is contained in:
@ -183,6 +183,9 @@ static void FillInEncoderConfig(vpx_codec_enc_cfg* vpx_config,
|
||||
vpx_config->rc_target_bitrate = config.rc_target_bitrate;
|
||||
vpx_config->rc_min_quantizer = config.rc_min_quantizer;
|
||||
vpx_config->rc_max_quantizer = config.rc_max_quantizer;
|
||||
if (config.error_resilient.has_value()) {
|
||||
vpx_config->g_error_resilient = config.error_resilient.value();
|
||||
}
|
||||
}
|
||||
|
||||
bool UpdateVpxConfiguration(size_t stream_index,
|
||||
|
||||
Reference in New Issue
Block a user