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

Unified Diff: webrtc/video/video_quality_test.cc

Issue 2480753002: Fix video_loopback on Mac. (Closed)
Patch Set: 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..788d4b4c2ec403dd2b23377118575fc9d9a37b9b 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;
stefan-webrtc 2016/11/09 18:19:29 "streams_.size() - 1"
perkj_webrtc 2016/11/10 12:03:54 Done.
return 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