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_'.
|
} |