Use enum class for VideoCodecMode and VideoCodecComplexity.
Bug: webrtc:7660 Change-Id: I6a8ef01f8abcc25c8efaf0af387408343a7c8ba3 Reviewed-on: https://webrtc-review.googlesource.com/81240 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23595}
This commit is contained in:
@ -407,7 +407,8 @@ class TestSimulcastEncoderAdapterFake : public ::testing::Test,
|
||||
// stream 0, the lowest resolution stream.
|
||||
InitRefCodec(0, &ref_codec);
|
||||
ref_codec.qpMax = 45;
|
||||
ref_codec.VP8()->complexity = webrtc::kComplexityHigher;
|
||||
ref_codec.VP8()->complexity =
|
||||
webrtc::VideoCodecComplexity::kComplexityHigher;
|
||||
ref_codec.VP8()->denoisingOn = false;
|
||||
ref_codec.startBitrate = 100; // Should equal to the target bitrate.
|
||||
VerifyCodec(ref_codec, 0);
|
||||
|
||||
Reference in New Issue
Block a user