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

Unified Diff: remoting/protocol/webrtc_video_capturer_adapter.cc

Issue 1603463007: Delete no-longer used pixel_width and pixel_height arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_video_capturer_adapter.cc
diff --git a/remoting/protocol/webrtc_video_capturer_adapter.cc b/remoting/protocol/webrtc_video_capturer_adapter.cc
index ce6c6f2136d3fe25c6e80bfa60c360a391588d21..12cfbf3c4dd90a055e984b4a0bc4bfa3332d732f 100644
--- a/remoting/protocol/webrtc_video_capturer_adapter.cc
+++ b/remoting/protocol/webrtc_video_capturer_adapter.cc
@@ -176,7 +176,7 @@ void WebrtcVideoCapturerAdapter::OnCaptureCompleted(
scoped_ptr<cricket::WebRtcVideoFrame> webrtc_frame(
new cricket::WebRtcVideoFrame());
- webrtc_frame->InitToEmptyBuffer(width, height, 1, 1, 0);
+ webrtc_frame->InitToEmptyBuffer(width, height, 0);
yuv_frame_ = std::move(webrtc_frame);
// Set updated_region so the whole frame is converted to YUV below.
« no previous file with comments | « content/renderer/media/webrtc/media_stream_remote_video_source_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698