diff options
author | Niels Möller <nisse@webrtc.org> | 2018-06-11 11:14:32 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-06-11 18:42:40 +0000 |
commit | 2ac64467c43c59f8e68e05444234cba3e2badc2d (patch) | |
tree | 9398e430bacdad871acba3a9d32bab82789db12e /modules/video_capture/test | |
parent | 425f713d2418ed9c967e39c65bf68bbd84787823 (diff) | |
download | webrtc-2ac64467c43c59f8e68e05444234cba3e2badc2d.tar.gz |
Document that preferred VideoFrame constructor takes no RTP timestamp.
And update most internal calls to use it.
Bug: webrtc:5740, webrtc:9372
Change-Id: Ib57d4ebfa7b0729af6d22981a792f0fdadf8a13f
Reviewed-on: https://webrtc-review.googlesource.com/81743
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23567}
Diffstat (limited to 'modules/video_capture/test')
-rw-r--r-- | modules/video_capture/test/video_capture_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/video_capture/test/video_capture_unittest.cc b/modules/video_capture/test/video_capture_unittest.cc index 16330b616f..1c6d06480d 100644 --- a/modules/video_capture/test/video_capture_unittest.cc +++ b/modules/video_capture/test/video_capture_unittest.cc @@ -370,8 +370,8 @@ class VideoCaptureExternalTest : public testing::Test { buffer->ChromaHeight() * buffer->StrideU()); memset(buffer->MutableDataV(), 127, buffer->ChromaHeight() * buffer->StrideV()); - test_frame_.reset( - new webrtc::VideoFrame(buffer, 0, 0, webrtc::kVideoRotation_0)); + test_frame_.reset(new webrtc::VideoFrame(buffer, webrtc::kVideoRotation_0, + 0 /* timestamp_us */)); SleepMs(1); // Wait 1ms so that two tests can't have the same timestamp. |