Index: webrtc/media/base/videosourceinterface.h |
diff --git a/webrtc/media/base/videosourceinterface.h b/webrtc/media/base/videosourceinterface.h |
index 14624585432194c74bec680c6f18befb56ce79f5..6c6e4dd9645100bfc9fd0f3c32e8680f29b691da 100644 |
--- a/webrtc/media/base/videosourceinterface.h |
+++ b/webrtc/media/base/videosourceinterface.h |
@@ -27,6 +27,9 @@ 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; |
+ |
+ enum class Resolution {KEEP, UP, DOWN}; |
+ Resolution resolution = Resolution::KEEP; |
nisse-webrtc
2016/02/17 08:19:46
I don't think it's a good idea to have actions her
perkj_webrtc
2016/02/17 17:16:29
After discussions- we don't want to change aspect
|
}; |
template <typename VideoFrameT> |