Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(652)

Unified Diff: webrtc/media/base/videosourceinterface.h

Issue 1695263002: Move direct use of VideoCapturer::VideoAdapter to VideoSinkWants. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698