Turn off error resilience for vp8 for no temporal layers if nack is enabled.
BUG=webrtc:6634 Review-Url: https://codereview.webrtc.org/2493893003 Cr-Commit-Position: refs/heads/master@{#15240}
This commit is contained in:
@ -401,11 +401,7 @@ int VP8EncoderImpl::InitEncode(const VideoCodec* inst,
|
||||
// Set the error resilience mode according to user settings.
|
||||
switch (inst->VP8().resilience) {
|
||||
case kResilienceOff:
|
||||
// TODO(marpan): We should set keep error resilience off for this mode,
|
||||
// independent of temporal layer settings, and make sure we set
|
||||
// |codecSpecific.VP8.resilience| = |kResilientStream| at higher level
|
||||
// code if we want to get error resilience on.
|
||||
configurations_[0].g_error_resilient = 1;
|
||||
configurations_[0].g_error_resilient = 0;
|
||||
break;
|
||||
case kResilientStream:
|
||||
configurations_[0].g_error_resilient = 1; // TODO(holmer): Replace with
|
||||
|
||||
Reference in New Issue
Block a user