Index: webrtc/media/engine/webrtcvideocapturer_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvideocapturer_unittest.cc b/webrtc/media/engine/webrtcvideocapturer_unittest.cc |
index c07834891e55d3a9bd4df965cccda7bad00e6b4f..17c93fc4d4dafc1b80868d40f99254b4ff5ae50a 100644 |
--- a/webrtc/media/engine/webrtcvideocapturer_unittest.cc |
+++ b/webrtc/media/engine/webrtcvideocapturer_unittest.cc |
@@ -87,7 +87,7 @@ |
ASSERT_TRUE(capturer_->GetCaptureFormat() != NULL); |
EXPECT_EQ(format, *capturer_->GetCaptureFormat()); |
EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000); |
- factory_->modules[0]->SendFrame(640, 480); |
+ EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480)); |
EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000); |
EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc()); |
EXPECT_EQ(640, listener_.frame_width()); |
@@ -114,7 +114,7 @@ |
ASSERT_TRUE(capturer_->GetCaptureFormat() != NULL); |
EXPECT_EQ(format, *capturer_->GetCaptureFormat()); |
EXPECT_EQ_WAIT(cricket::CS_RUNNING, listener_.last_capture_state(), 1000); |
- factory_->modules[0]->SendFrame(640, 480); |
+ EXPECT_TRUE(factory_->modules[0]->SendFrame(640, 480)); |
EXPECT_TRUE_WAIT(listener_.frame_count() > 0, 5000); |
EXPECT_EQ(capturer_->GetCaptureFormat()->fourcc, listener_.frame_fourcc()); |
EXPECT_EQ(640, listener_.frame_width()); |