Index: webrtc/media/base/videocapturer.cc |
diff --git a/webrtc/media/base/videocapturer.cc b/webrtc/media/base/videocapturer.cc |
index efd075d4d08f795faa29dd81726dec5736fbb272..704840b180d28b8a755408fe74025ef85350d7e7 100644 |
--- a/webrtc/media/base/videocapturer.cc |
+++ b/webrtc/media/base/videocapturer.cc |
@@ -149,8 +149,9 @@ void VideoCapturer::OnSinkWantsChanged(const rtc::VideoSinkWants& wants) { |
apply_rotation_ = wants.rotation_applied; |
if (video_adapter()) { |
- video_adapter()->OnResolutionRequest(wants.target_pixel_count, |
- wants.max_pixel_count); |
+ video_adapter()->OnResolutionFramerateRequest(wants.target_pixel_count, |
+ wants.max_pixel_count, |
+ wants.max_framerate_fps); |
} |
} |