Delete enum VP8ResilienceMode.
We only support on (formely kResilientStream) and off (formely kResilienceOff). The third mode, kResilientFrames, was not implemented. Bug: None Change-Id: Ida82f6a33eda9d943ea70bc8ae4e6bddb720b0e8 Reviewed-on: https://webrtc-review.googlesource.com/71481 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22984}
This commit is contained in:
@ -68,7 +68,7 @@ std::string CodecSpecificToString(const VideoCodec& codec) {
|
||||
switch (codec.codecType) {
|
||||
case kVideoCodecVP8:
|
||||
ss << "complexity: " << codec.VP8().complexity;
|
||||
ss << "\nresilience: " << codec.VP8().resilience;
|
||||
ss << "\nresilience: " << codec.VP8().resilienceOn;
|
||||
ss << "\nnum_temporal_layers: "
|
||||
<< static_cast<int>(codec.VP8().numberOfTemporalLayers);
|
||||
ss << "\ndenoising: " << codec.VP8().denoisingOn;
|
||||
@ -143,8 +143,7 @@ void TestConfig::SetCodecSettings(std::string codec_name,
|
||||
|
||||
switch (codec_settings.codecType) {
|
||||
case kVideoCodecVP8:
|
||||
codec_settings.VP8()->resilience =
|
||||
resilience_on ? kResilientStream : kResilienceOff;
|
||||
codec_settings.VP8()->resilienceOn = resilience_on;
|
||||
codec_settings.VP8()->numberOfTemporalLayers =
|
||||
static_cast<uint8_t>(num_temporal_layers);
|
||||
codec_settings.VP8()->denoisingOn = denoising_on;
|
||||
|
||||
Reference in New Issue
Block a user