Index: webrtc/video/vie_encoder_unittest.cc |
diff --git a/webrtc/video/vie_encoder_unittest.cc b/webrtc/video/vie_encoder_unittest.cc |
index 8c43fe5740cf1575d3a6c5fd553d44ea578ab97c..1ab6e681e69b2acf3e586820036ec80912a96aff 100644 |
--- a/webrtc/video/vie_encoder_unittest.cc |
+++ b/webrtc/video/vie_encoder_unittest.cc |
@@ -282,7 +282,7 @@ TEST_F(ViEEncoderTest, ConfigureEncoderTriggersOnEncoderConfigurationChanged) { |
vie_encoder_->OnBitrateUpdated(kTargetBitrateBps, 0, 0); |
// Capture a frame and wait for it to synchronize with the encoder thread. |
- vie_encoder_->IncomingCapturedFrame(CreateFrame(1, nullptr)); |
+ video_source_.IncomingCapturedFrame(CreateFrame(1, nullptr)); |
sink_.WaitForEncodedFrame(1); |
EXPECT_EQ(1, sink_.number_of_reconfigurations()); |
@@ -292,7 +292,7 @@ TEST_F(ViEEncoderTest, ConfigureEncoderTriggersOnEncoderConfigurationChanged) { |
vie_encoder_->ConfigureEncoder(std::move(video_encoder_config), 1440); |
// Capture a frame and wait for it to synchronize with the encoder thread. |
- vie_encoder_->IncomingCapturedFrame(CreateFrame(2, nullptr)); |
+ video_source_.IncomingCapturedFrame(CreateFrame(2, nullptr)); |
sink_.WaitForEncodedFrame(2); |
EXPECT_EQ(2, sink_.number_of_reconfigurations()); |
EXPECT_EQ(9999, sink_.last_min_transmit_bitrate()); |