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

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

Issue 1695263002: Move direct use of VideoCapturer::VideoAdapter to VideoSinkWants. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: switched to int. Found bug in adapter... 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/videobroadcaster.h
diff --git a/webrtc/media/base/videobroadcaster.h b/webrtc/media/base/videobroadcaster.h
index 63c22730c7f1df7d7316a682dcf2b22990e8eb2d..2ae5ad30d3b8ec8326b6923597801f9fad01a274 100644
--- a/webrtc/media/base/videobroadcaster.h
+++ b/webrtc/media/base/videobroadcaster.h
@@ -51,6 +51,8 @@ class VideoBroadcaster : public VideoSourceInterface<cricket::VideoFrame>,
ThreadChecker thread_checker_;
VideoSinkWants current_wants_;
+ size_t width_ = 0;
+ size_t height_ = 0;
pthatcher1 2016/02/17 23:05:56 Why are these need? And, we should probably call
perkj_webrtc 2016/02/18 13:22:46 They are not needed... left overs from a previous
std::vector<SinkPair> sinks_;
};

Powered by Google App Engine
This is Rietveld 408576698