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

Issue 2370653003: Add limitations of number of frames that can be created in I420BufferPool::CreateBuffer. (Closed)

Created:
4 years, 2 months ago by perkj_webrtc
Modified:
4 years, 2 months ago
Reviewers:
magjed_webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add limitations of number of frames that can be created in I420BufferPool::CreateBuffer. If more than 60 frames are created and not returned, the implementation will crash. I420BufferPool are currently used by the VP8 decoder, Quality scaler and VideoFrameFactory. BUG=b/31390397 NOTRY=true // Because of failing gclient runhooks on some bots Committed: https://crrev.com/5f8ebaeffd2f4f7a3e5f857c407b2ff9aca7454e Cr-Commit-Position: refs/heads/master@{#14395}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Increased size and addressed nit. #

Patch Set 3 : Fix definition/declaration. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M webrtc/common_video/i420_buffer_pool.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M webrtc/common_video/include/i420_buffer_pool.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
perkj_webrtc
Is this a good idea to ad to Canary?
4 years, 2 months ago (2016-09-26 12:51:19 UTC) #3
mflodman
One comment about the limit, LGTM with that comment addressed. https://codereview.webrtc.org/2370653003/diff/1/webrtc/common_video/include/i420_buffer_pool.h File webrtc/common_video/include/i420_buffer_pool.h (right): https://codereview.webrtc.org/2370653003/diff/1/webrtc/common_video/include/i420_buffer_pool.h#newcode41 ...
4 years, 2 months ago (2016-09-26 14:36:47 UTC) #4
magjed_webrtc
lgtm if this is temporary for debugging purposes and not intended to reach stable. https://codereview.webrtc.org/2370653003/diff/1/webrtc/common_video/i420_buffer_pool.cc ...
4 years, 2 months ago (2016-09-26 14:50:55 UTC) #5
perkj_webrtc
https://codereview.webrtc.org/2370653003/diff/1/webrtc/common_video/i420_buffer_pool.cc File webrtc/common_video/i420_buffer_pool.cc (right): https://codereview.webrtc.org/2370653003/diff/1/webrtc/common_video/i420_buffer_pool.cc#newcode27 webrtc/common_video/i420_buffer_pool.cc:27: RTC_CHECK(buffers_.size() < kMaxNumberOfFramesBeforeCrash); On 2016/09/26 14:50:55, magjed_webrtc wrote: > ...
4 years, 2 months ago (2016-09-27 07:41:41 UTC) #6
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/2370653003/40001
4 years, 2 months ago (2016-09-27 07:42:17 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios64_sim_dbg/builds/10959) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 2 months ago (2016-09-27 07:43:10 UTC) #11
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/2370653003/60001
4 years, 2 months ago (2016-09-27 09:11:43 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_clang_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_clang_dbg/builds/5692)
4 years, 2 months ago (2016-09-27 10:36:47 UTC) #16
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/2370653003/60001
4 years, 2 months ago (2016-09-27 10:46:28 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 2 months ago (2016-09-27 10:47:45 UTC) #21
commit-bot: I haz the power
4 years, 2 months ago (2016-09-27 10:47:53 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/5f8ebaeffd2f4f7a3e5f857c407b2ff9aca7454e
Cr-Commit-Position: refs/heads/master@{#14395}

Powered by Google App Engine
This is Rietveld 408576698