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

Unified Diff: webrtc/video/video_quality_test.cc

Issue 2480753002: Fix video_loopback on Mac. (Closed)
Patch Set: git cl format. Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/video_quality_test.cc
diff --git a/webrtc/video/video_quality_test.cc b/webrtc/video/video_quality_test.cc
index c773e431502c2e150b2caf1d8a6279ca03ef2d1f..747c003c612bc1ab206b0069dcddafbcc98ee0c0 100644
--- a/webrtc/video/video_quality_test.cc
+++ b/webrtc/video/video_quality_test.cc
@@ -99,6 +99,10 @@ class VideoStreamFactory
int width,
int height,
const webrtc::VideoEncoderConfig& encoder_config) override {
+ // The highest layer must match the incoming resolution.
+ std::vector<webrtc::VideoStream> streams = streams_;
+ streams[streams_.size() - 1].height = height;
+ streams[streams_.size() - 1].width = width;
return streams_;
mflodman 2016/12/15 14:33:35 You need to return 'streams', not 'streams_'.
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698