| Index: webrtc/media/base/videosourceinterface.h
|
| diff --git a/webrtc/media/base/videosourceinterface.h b/webrtc/media/base/videosourceinterface.h
|
| index e7c0d3880750e03a802e833e433b811707e60715..0ea1c60abfa389e5bc236925e25d9bae74e2886d 100644
|
| --- a/webrtc/media/base/videosourceinterface.h
|
| +++ b/webrtc/media/base/videosourceinterface.h
|
| @@ -27,15 +27,13 @@
|
| bool black_frames = false;
|
|
|
| // Tells the source the maximum number of pixels the sink wants.
|
| - int max_pixel_count = std::numeric_limits<int>::max();
|
| + rtc::Optional<int> max_pixel_count;
|
| // Tells the source the desired number of pixels the sinks wants. This will
|
| // typically be used when stepping the resolution up again when conditions
|
| // have improved after an earlier downgrade. The source should select the
|
| // closest resolution to this pixel count, but if max_pixel_count is set, it
|
| // still sets the absolute upper bound.
|
| rtc::Optional<int> target_pixel_count;
|
| - // Tells the source the maximum framerate the sink wants.
|
| - int max_framerate_fps = std::numeric_limits<int>::max();
|
| };
|
|
|
| template <typename VideoFrameT>
|
|
|