Index: webrtc/media/base/videocapturer.cc |
diff --git a/webrtc/media/base/videocapturer.cc b/webrtc/media/base/videocapturer.cc |
index efd075d4d08f795faa29dd81726dec5736fbb272..30c864f6c9b8fb2938c4a732337f581ef3cf0dda 100644 |
--- a/webrtc/media/base/videocapturer.cc |
+++ b/webrtc/media/base/videocapturer.cc |
@@ -148,10 +148,8 @@ void VideoCapturer::OnSinkWantsChanged(const rtc::VideoSinkWants& wants) { |
RTC_DCHECK(thread_checker_.CalledOnValidThread()); |
apply_rotation_ = wants.rotation_applied; |
- if (video_adapter()) { |
- video_adapter()->OnResolutionRequest(wants.target_pixel_count, |
- wants.max_pixel_count); |
- } |
+ if (video_adapter()) |
+ video_adapter()->OnSinkWantsUpdated(wants); |
} |
bool VideoCapturer::AdaptFrame(int width, |