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

Issue 2474783005: Replace Check for too many pending frames in I420_buffer_pool with returning nullptr. Added histogr… (Closed)

Created:
4 years, 1 month ago by perkj_webrtc
Modified:
4 years, 1 month ago
Reviewers:
magjed_webrtc, tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Replace Check for too many pending frames in I420_buffer_pool with returning nullptr. Added histograms for when this happens in VP8Impl. BUG=chromium:542522 R=tommi@webrtc.org Committed: https://crrev.com/00983572b0a65e9c9f65e8fc9e0628cb1399aa28 Cr-Commit-Position: refs/heads/master@{#14930}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -12 lines) Patch
M webrtc/common_video/i420_buffer_pool.cc View 3 chunks +7 lines, -6 lines 0 comments Download
M webrtc/common_video/i420_buffer_pool_unittest.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M webrtc/common_video/include/i420_buffer_pool.h View 3 chunks +11 lines, -5 lines 2 comments Download
M webrtc/modules/video_coding/codecs/vp8/vp8_impl.cc View 3 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
perkj_webrtc
I manually tested this. Not sure if it is worth writing a video end to ...
4 years, 1 month ago (2016-11-03 22:10:38 UTC) #3
tommi
lgtm
4 years, 1 month ago (2016-11-03 22:48:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2474783005/1
4 years, 1 month ago (2016-11-03 22:48:51 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_dbg/builds/2825)
4 years, 1 month ago (2016-11-04 01:52:06 UTC) #8
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/00983572b0a65e9c9f65e8fc9e0628cb1399aa28 Cr-Commit-Position: refs/heads/master@{#14930}
4 years, 1 month ago (2016-11-04 07:57:47 UTC) #11
perkj_webrtc
Committed patchset #1 (id:1) manually as 00983572b0a65e9c9f65e8fc9e0628cb1399aa28 (presubmit successful).
4 years, 1 month ago (2016-11-04 07:57:48 UTC) #12
magjed_webrtc
https://codereview.webrtc.org/2474783005/diff/1/webrtc/common_video/include/i420_buffer_pool.h File webrtc/common_video/include/i420_buffer_pool.h (right): https://codereview.webrtc.org/2474783005/diff/1/webrtc/common_video/include/i420_buffer_pool.h#newcode32 webrtc/common_video/include/i420_buffer_pool.h:32: : I420BufferPool(false, std::numeric_limits<size_t>::max()) {} nit: this is enough: I420BufferPool(false) ...
4 years, 1 month ago (2016-11-04 08:21:36 UTC) #14
perkj_webrtc
4 years, 1 month ago (2016-11-04 12:04:27 UTC) #15
Message was sent while issue was closed.
On 2016/11/04 08:21:36, magjed_webrtc wrote:
>
https://codereview.webrtc.org/2474783005/diff/1/webrtc/common_video/include/i...
> File webrtc/common_video/include/i420_buffer_pool.h (right):
> 
>
https://codereview.webrtc.org/2474783005/diff/1/webrtc/common_video/include/i...
> webrtc/common_video/include/i420_buffer_pool.h:32: : I420BufferPool(false,
> std::numeric_limits<size_t>::max()) {}
> nit: this is enough: I420BufferPool(false) {}
> 
>
https://codereview.webrtc.org/2474783005/diff/1/webrtc/common_video/include/i...
> webrtc/common_video/include/i420_buffer_pool.h:59: size_t
> max_number_of_buffers_;
> It would be nice to have this (and zero_initialize_) const.

Fixed in follow up https://codereview.webrtc.org/2473383002/.

Powered by Google App Engine
This is Rietveld 408576698