diff options
author | nisse <nisse@chromium.org> | 2016-02-01 00:10:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-01 08:11:34 +0000 |
commit | 42654ec37eab56c20dc9df8acf430c6e5b944e1b (patch) | |
tree | 25b240449208a7eb9582bd16b6c781a603a60fed /remoting/protocol | |
parent | 694a21484e4a7c8b9bd9b0b8b2f4e54e0a51a7f3 (diff) | |
download | chromium_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.cc | 2 |
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. |