Revert of Turn off error resilience for VP9 if no spatial or temporal layers are configured and NACK is enabl… (patchset #1 id:40001 of https://codereview.webrtc.org/2532053002/ )
Reason for revert: Increase in encode time larger than expected. Original issue's description: > Turn off error resilience for VP9 if no spatial or temporal layers are configured and NACK is enabled. > > Error resilience is currently always enabled for VP9 which reduces quality. > > BUG=webrtc:6783 > > Committed: https://crrev.com/4eb03c76fa2320534d669fda2aabf800e7a6f579 > Cr-Commit-Position: refs/heads/master@{#15390} TBR=stefan@webrtc.org,marpan@webrtc.org,mflodman@webrtc.org,marpan@google.com # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:6783 Review-Url: https://codereview.webrtc.org/2554403006 Cr-Commit-Position: refs/heads/master@{#15501}
This commit is contained in:
@ -298,7 +298,7 @@ int VP9EncoderImpl::InitEncode(const VideoCodec* inst,
|
||||
config_->g_w = codec_.width;
|
||||
config_->g_h = codec_.height;
|
||||
config_->rc_target_bitrate = inst->startBitrate; // in kbit/s
|
||||
config_->g_error_resilient = inst->VP9().resilienceOn ? 1 : 0;
|
||||
config_->g_error_resilient = 1;
|
||||
// Setting the time base of the codec.
|
||||
config_->g_timebase.num = 1;
|
||||
config_->g_timebase.den = 90000;
|
||||
|
||||
Reference in New Issue
Block a user