Index: webrtc/media/base/adaptedvideotracksource.cc |
diff --git a/webrtc/media/base/adaptedvideotracksource.cc b/webrtc/media/base/adaptedvideotracksource.cc |
index 236c4a55406ac0abce86a222708a76cf00200d9e..7a3e9f2f2da363ea8088ed71d78e0bc92bb0dd4d 100644 |
--- a/webrtc/media/base/adaptedvideotracksource.cc |
+++ b/webrtc/media/base/adaptedvideotracksource.cc |
@@ -81,8 +81,8 @@ bool AdaptedVideoTrackSource::apply_rotation() { |
void AdaptedVideoTrackSource::OnSinkWantsChanged( |
const rtc::VideoSinkWants& wants) { |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
- 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); |
} |
bool AdaptedVideoTrackSource::AdaptFrame(int width, |