| Index: webrtc/media/base/videobroadcaster.cc
|
| diff --git a/webrtc/media/base/videobroadcaster.cc b/webrtc/media/base/videobroadcaster.cc
|
| index 5d0edeb6dfe4f9dc3129ba19231716f8caea03f5..8986de15bc8708b5a3dcccb0039e90d56681df33 100644
|
| --- a/webrtc/media/base/videobroadcaster.cc
|
| +++ b/webrtc/media/base/videobroadcaster.cc
|
| @@ -98,6 +98,12 @@ void VideoBroadcaster::UpdateWants() {
|
| (*sink.wants.target_pixel_count < *wants.target_pixel_count))) {
|
| wants.target_pixel_count = sink.wants.target_pixel_count;
|
| }
|
| + // Select the minimum for the requested max framerates.
|
| + if (sink.wants.max_framerate_fps_ &&
|
| + (!wants.max_framerate_fps_ ||
|
| + (*sink.wants.max_framerate_fps_ < *wants.max_framerate_fps_))) {
|
| + wants.max_framerate_fps_ = sink.wants.max_framerate_fps_;
|
| + }
|
| }
|
|
|
| if (wants.max_pixel_count && wants.target_pixel_count &&
|
|
|