| Index: webrtc/video/overuse_frame_detector_unittest.cc
|
| diff --git a/webrtc/video/overuse_frame_detector_unittest.cc b/webrtc/video/overuse_frame_detector_unittest.cc
|
| index 044b11f1fbd22cf30b0a068d34e0b549599276f2..665b2535ab5b38400387edf5aa2f7dcac8f6d5d8 100644
|
| --- a/webrtc/video/overuse_frame_detector_unittest.cc
|
| +++ b/webrtc/video/overuse_frame_detector_unittest.cc
|
| @@ -98,7 +98,8 @@ class OveruseFrameDetectorTest : public ::testing::Test,
|
| int height,
|
| int delay_us) {
|
| VideoFrame frame(I420Buffer::Create(width, height),
|
| - webrtc::kVideoRotation_0, 0);
|
| + webrtc::kVideoRotation_0,
|
| + webrtc::VideoContentType::kDefault, 0);
|
| uint32_t timestamp = 0;
|
| while (num_frames-- > 0) {
|
| frame.set_timestamp(timestamp);
|
| @@ -286,7 +287,8 @@ TEST_F(OveruseFrameDetectorTest, MeasuresMultipleConcurrentSamples) {
|
| static const int kIntervalUs = 33 * rtc::kNumMicrosecsPerMillisec;
|
| static const size_t kNumFramesEncodingDelay = 3;
|
| VideoFrame frame(I420Buffer::Create(kWidth, kHeight),
|
| - webrtc::kVideoRotation_0, 0);
|
| + webrtc::kVideoRotation_0, webrtc::VideoContentType::kDefault,
|
| + 0);
|
| for (size_t i = 0; i < 1000; ++i) {
|
| // Unique timestamps.
|
| frame.set_timestamp(static_cast<uint32_t>(i));
|
| @@ -308,7 +310,8 @@ TEST_F(OveruseFrameDetectorTest, UpdatesExistingSamples) {
|
| static const int kIntervalUs = 33 * rtc::kNumMicrosecsPerMillisec;
|
| static const int kDelayUs = 30 * rtc::kNumMicrosecsPerMillisec;
|
| VideoFrame frame(I420Buffer::Create(kWidth, kHeight),
|
| - webrtc::kVideoRotation_0, 0);
|
| + webrtc::kVideoRotation_0, webrtc::VideoContentType::kDefault,
|
| + 0);
|
| uint32_t timestamp = 0;
|
| for (size_t i = 0; i < 1000; ++i) {
|
| frame.set_timestamp(timestamp);
|
|
|