Index: webrtc/modules/video_capture/test/video_capture_unittest.cc |
diff --git a/webrtc/modules/video_capture/test/video_capture_unittest.cc b/webrtc/modules/video_capture/test/video_capture_unittest.cc |
index d0c3ec9b257981c351e4536ca1e02ebec95174fa..2bce809b8721ddbfdf0b1b75cd453fbd37203310 100644 |
--- a/webrtc/modules/video_capture/test/video_capture_unittest.cc |
+++ b/webrtc/modules/video_capture/test/video_capture_unittest.cc |
@@ -108,7 +108,7 @@ class TestVideoCaptureCallback |
void SetExpectedCapability(VideoCaptureCapability capability) { |
CriticalSectionScoped cs(capture_cs_.get()); |
- capability_= capability; |
+ capability_ = capability; |
incoming_frames_ = 0; |
last_render_time_ms_ = 0; |
} |
@@ -374,8 +374,8 @@ class VideoCaptureExternalTest : public testing::Test { |
((kTestWidth + 1) / 2) * ((kTestHeight + 1) / 2)); |
memset(buffer->MutableDataV(), 127, |
((kTestWidth + 1) / 2) * ((kTestHeight + 1) / 2)); |
- test_frame_.reset( |
- new webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0)); |
+ test_frame_.reset(new webrtc::VideoFrame( |
+ buffer, 0, 0, webrtc::kVideoRotation_0, webrtc::kVideoContent_Default)); |
SleepMs(1); // Wait 1ms so that two tests can't have the same timestamp. |