Index: talk/media/webrtc/webrtcvideocapturer_unittest.cc |
diff --git a/talk/media/webrtc/webrtcvideocapturer_unittest.cc b/talk/media/webrtc/webrtcvideocapturer_unittest.cc |
index d560fc554e5be44e00262ed8068a1f90dcf62e3c..85db32e7d242e46910505d8919eab751258eee77 100644 |
--- a/talk/media/webrtc/webrtcvideocapturer_unittest.cc |
+++ b/talk/media/webrtc/webrtcvideocapturer_unittest.cc |
@@ -111,6 +111,7 @@ TEST_F(WebRtcVideoCapturerTest, TestCapture) { |
capturer_->Stop(); |
EXPECT_FALSE(capturer_->IsRunning()); |
EXPECT_TRUE(capturer_->GetCaptureFormat() == NULL); |
+ EXPECT_EQ_WAIT(cricket::CS_STOPPED, listener_.last_capture_state(), 1000); |
} |
TEST_F(WebRtcVideoCapturerTest, TestCaptureVcm) { |