Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: webrtc/modules/video_capture/test/video_capture_unittest.cc

Issue 2772033002: Add content type information to encoded images and corresponding rtp extension header (Closed)
Patch Set: Fix Mac CE Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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.

Powered by Google App Engine
This is Rietveld 408576698