Index: webrtc/test/frame_generator.h |
diff --git a/webrtc/test/frame_generator.h b/webrtc/test/frame_generator.h |
index fc3f3069986bb5729a93857be8f70c96c9159a9d..e7cba1c4efaefb60596ab0059d37663ef76ffae4 100644 |
--- a/webrtc/test/frame_generator.h |
+++ b/webrtc/test/frame_generator.h |
@@ -49,6 +49,11 @@ class FrameGenerator { |
// Returns video frame that remains valid until next call. |
virtual VideoFrame* NextFrame() = 0; |
+ // Change the capture resolution. |
+ virtual void ChangeResolution(size_t width, size_t height) { |
+ RTC_NOTREACHED(); |
+ } |
+ |
// Creates a test frame generator that creates fully saturated frames with |
// varying U, V values over time. |
static FrameGenerator* CreateChromaGenerator(size_t width, size_t height); |