Index: webrtc/test/frame_generator_capturer.cc |
diff --git a/webrtc/test/frame_generator_capturer.cc b/webrtc/test/frame_generator_capturer.cc |
index 7e929095f048a7876569affb59a7fa6fea39e5ab..d80154a8de591f305b0286aa21b187e2bc6f2bd1 100644 |
--- a/webrtc/test/frame_generator_capturer.cc |
+++ b/webrtc/test/frame_generator_capturer.cc |
@@ -124,6 +124,11 @@ void FrameGeneratorCapturer::Stop() { |
sending_ = false; |
} |
+void FrameGeneratorCapturer::ChangeResolution(size_t width, size_t height) { |
+ rtc::CritScope cs(&lock_); |
+ frame_generator_->ChangeResolution(width, height); |
+} |
+ |
void FrameGeneratorCapturer::AddOrUpdateSink( |
rtc::VideoSinkInterface<VideoFrame>* sink, |
const rtc::VideoSinkWants& wants) { |