summaryrefslogtreecommitdiffstats
path: root/remoting/protocol
diff options
context:
space:
mode:
authornisse <nisse@chromium.org>2016-02-01 00:10:33 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-01 08:11:34 +0000
commit42654ec37eab56c20dc9df8acf430c6e5b944e1b (patch)
tree25b240449208a7eb9582bd16b6c781a603a60fed /remoting/protocol
parent694a21484e4a7c8b9bd9b0b8b2f4e54e0a51a7f3 (diff)
downloadchromium_src-42654ec37eab56c20dc9df8acf430c6e5b944e1b.zip
chromium_src-42654ec37eab56c20dc9df8acf430c6e5b944e1b.tar.gz
chromium_src-42654ec37eab56c20dc9df8acf430c6e5b944e1b.tar.bz2
This change drops the pixel_width and pixel_height arguments which are being deleted from webrtc.
BUG=webrtc:5426 Review URL: https://codereview.chromium.org/1603463007 Cr-Commit-Position: refs/heads/master@{#372620}
Diffstat (limited to 'remoting/protocol')
-rw-r--r--remoting/protocol/webrtc_video_capturer_adapter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/remoting/protocol/webrtc_video_capturer_adapter.cc b/remoting/protocol/webrtc_video_capturer_adapter.cc
index ce6c6f2..12cfbf3 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.