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

Issue 2029273004: New static method I420Buffer::SetToBlack. (Closed)

Created:
4 years, 6 months ago by nisse-webrtc
Modified:
4 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

New static method I420Buffer::SetToBlack. Replaces cricket::VideoFrame::SetToBlack and cricket::WebRtcVideoFrame::InitToBlack, which are deleted. Refactors the black frame logic in VideoBroadcaster, and a few of the tests. BUG=webrtc:5682 Committed: https://crrev.com/663f9e2ddc86e813f6db04ba2cf5ac1ed9e7ef67 Cr-Commit-Position: refs/heads/master@{#13063}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Make SetToBlack non-static. #

Patch Set 3 : Update TODO comment. #

Patch Set 4 : Add missing SetToBlack call. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -143 lines) Patch
M webrtc/common_video/include/video_frame_buffer.h View 1 1 chunk +10 lines, -0 lines 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download
M webrtc/media/base/fakevideorenderer.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M webrtc/media/base/videobroadcaster.h View 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/media/base/videobroadcaster.cc View 1 2 chunks +13 lines, -14 lines 0 comments Download
M webrtc/media/base/videobroadcaster_unittest.cc View 2 chunks +10 lines, -9 lines 0 comments Download
M webrtc/media/base/videoframe.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/media/base/videoframe.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M webrtc/media/base/videoframe_unittest.h View 1 2 3 15 chunks +98 lines, -89 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.h View 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe_unittest.cc View 1 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
nisse-webrtc
Adds SetToBlack as a static method on I420Buffer, and deletes corresponding VideoFrame methods.
4 years, 6 months ago (2016-06-02 12:38:30 UTC) #2
perkj_webrtc
lgtm if the below is addressed. https://codereview.webrtc.org/2029273004/diff/1/webrtc/common_video/include/video_frame_buffer.h File webrtc/common_video/include/video_frame_buffer.h (right): https://codereview.webrtc.org/2029273004/diff/1/webrtc/common_video/include/video_frame_buffer.h#newcode114 webrtc/common_video/include/video_frame_buffer.h:114: const rtc::scoped_refptr<VideoFrameBuffer>& buffer); ...
4 years, 6 months ago (2016-06-02 13:20:04 UTC) #3
nisse-webrtc
pbos, do you have any opinions? You own some of the affected files. https://codereview.webrtc.org/2029273004/diff/1/webrtc/common_video/include/video_frame_buffer.h File ...
4 years, 6 months ago (2016-06-03 14:22:50 UTC) #4
pbos-webrtc
lgtm https://codereview.webrtc.org/2029273004/diff/1/webrtc/media/base/fakevideorenderer.h File webrtc/media/base/fakevideorenderer.h (right): https://codereview.webrtc.org/2029273004/diff/1/webrtc/media/base/fakevideorenderer.h#newcode35 webrtc/media/base/fakevideorenderer.h:35: // TODO(zhurunz) Check with VP8 team to see ...
4 years, 6 months ago (2016-06-03 14:46:02 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2029273004/diff/1/webrtc/media/base/fakevideorenderer.h File webrtc/media/base/fakevideorenderer.h (right): https://codereview.webrtc.org/2029273004/diff/1/webrtc/media/base/fakevideorenderer.h#newcode35 webrtc/media/base/fakevideorenderer.h:35: // TODO(zhurunz) Check with VP8 team to see if ...
4 years, 6 months ago (2016-06-08 09:25:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029273004/40001
4 years, 6 months ago (2016-06-08 09:25:45 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_ubsan_vptr on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_ubsan_vptr/builds/3152)
4 years, 6 months ago (2016-06-08 09:34:57 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029273004/60001
4 years, 6 months ago (2016-06-08 10:15:52 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 6 months ago (2016-06-08 11:26:27 UTC) #15
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/663f9e2ddc86e813f6db04ba2cf5ac1ed9e7ef67 Cr-Commit-Position: refs/heads/master@{#13063}
4 years, 6 months ago (2016-06-08 11:26:35 UTC) #17
nisse-webrtc
4 years, 6 months ago (2016-06-08 12:20:45 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:60001) has been created in
https://codereview.webrtc.org/2049023002/ by nisse@webrtc.org.

The reason for reverting is: Breaks chrome, in particular, the tests in 

media_stream_remote_video_source_unittest.cc

use the InitToBlack method which is being deleted..

Powered by Google App Engine
This is Rietveld 408576698