Removes incorrect test expectation.
As of
https://source.chromium.org/chromium/_/webrtc/src.git/+/1e4d4fdf88370637318d38cbf62c731d04fa3e56
we no longer expect an InitEncode on deativation of a layer.
Bug: webrtc:12540
Change-Id: I10d447d90d1019258f662caf7f6e649d63d6927a
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/215076
Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org>
Commit-Queue: Erik Språng <sprang@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#33709}
diff --git a/video/video_send_stream_tests.cc b/video/video_send_stream_tests.cc
index 47bcaab..3ee97a9 100644
--- a/video/video_send_stream_tests.cc
+++ b/video/video_send_stream_tests.cc
@@ -2272,13 +2272,6 @@
GetVideoSendStream()->ReconfigureVideoEncoder(
GetVideoEncoderConfig()->Copy());
});
- // TODO(bugs.webrtc.org/8807): Currently we require a hard reconfiguration to
- // update the VideoBitrateAllocator and BitrateAllocator of which layers are
- // active. Once the change is made for a "soft" reconfiguration we can remove
- // the expecation for an encoder init. We can also test that bitrate changes
- // when just updating individual active layers, which should change the
- // bitrate set to the video encoder.
- EXPECT_TRUE(encoder.WaitForEncoderInit());
EXPECT_TRUE(encoder.WaitBitrateChanged(true));
// Turning off both simulcast layers should trigger a bitrate change of 0.