Index: webrtc/media/base/videosourceinterface.h |
diff --git a/webrtc/media/base/videosourceinterface.h b/webrtc/media/base/videosourceinterface.h |
index 14624585432194c74bec680c6f18befb56ce79f5..1d7f78e7417c41aa9ce4a7dc35ebc703c2276dde 100644 |
--- a/webrtc/media/base/videosourceinterface.h |
+++ b/webrtc/media/base/videosourceinterface.h |
@@ -27,6 +27,15 @@ struct VideoSinkWants { |
// Tells the source whether the sink wants frames with rotation applied. |
// By default, the rotation is applied by the source. |
bool rotation_applied = true; |
+ |
+ struct ResolutionRequest { |
nisse-webrtc
2016/02/17 08:19:46
This needs a comment. At first look, it seems a bi
perkj_webrtc
2016/02/17 17:16:29
Changed to only store max_number_of_pixels for now
|
+ enum Change { NONE, UP, DOWN }; |
+ int from_width = 0; |
+ int from_height = 0; |
+ Change change = NONE; |
+ }; |
+ |
+ ResolutionRequest resolution_request; |
}; |
template <typename VideoFrameT> |