| 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..6741ca162f2d7dd0e144647a3a3c49f1a3c8ed0d 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;
|
| }
|
| @@ -375,7 +375,8 @@ class VideoCaptureExternalTest : public testing::Test {
|
| memset(buffer->MutableDataV(), 127,
|
| ((kTestWidth + 1) / 2) * ((kTestHeight + 1) / 2));
|
| test_frame_.reset(
|
| - new webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0));
|
| + new webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0,
|
| + webrtc::VideoContentType::kDefault));
|
|
|
| SleepMs(1); // Wait 1ms so that two tests can't have the same timestamp.
|
|
|
|
|