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

Issue 2540393002: media: AVDACodecAllocator now fails if threads don't start (Closed)

Created:
4 years ago by watk
Modified:
4 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, piman+watch_chromium.org, feature-media-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: AVDACodecAllocator now fails if threads don't start Previously AVDACodecAllocator tried to gracefully handle threads failing to start. To simplify its contract, now it considers threads failing to to be an error. BUG=670140 TEST=existing tests CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/997e9e7f24cf2c6b8433bbfeedeeaf5a6b7c6d13 Cr-Commit-Position: refs/heads/master@{#435756}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Comments #

Patch Set 3 : put back assert #

Patch Set 4 : blah #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -103 lines) Patch
M media/gpu/android_video_decode_accelerator.cc View 3 chunks +8 lines, -5 lines 0 comments Download
M media/gpu/avda_codec_allocator.h View 5 chunks +12 lines, -15 lines 0 comments Download
M media/gpu/avda_codec_allocator.cc View 1 2 6 chunks +38 lines, -66 lines 0 comments Download
M media/gpu/avda_codec_allocator_unittest.cc View 4 chunks +14 lines, -17 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (15 generated)
watk
4 years ago (2016-12-01 02:00:15 UTC) #5
liberato (no reviews please)
lgtm. nice code cleanup too. -fl https://codereview.chromium.org/2540393002/diff/1/media/gpu/avda_codec_allocator.cc File media/gpu/avda_codec_allocator.cc (left): https://codereview.chromium.org/2540393002/diff/1/media/gpu/avda_codec_allocator.cc#oldcode376 media/gpu/avda_codec_allocator.cc:376: DCHECK_EQ(threads_.size(), TaskType::AUTO_CODEC); i ...
4 years ago (2016-12-01 16:52:58 UTC) #9
watk
Thanks! https://codereview.chromium.org/2540393002/diff/1/media/gpu/avda_codec_allocator.cc File media/gpu/avda_codec_allocator.cc (left): https://codereview.chromium.org/2540393002/diff/1/media/gpu/avda_codec_allocator.cc#oldcode376 media/gpu/avda_codec_allocator.cc:376: DCHECK_EQ(threads_.size(), TaskType::AUTO_CODEC); On 2016/12/01 16:52:58, liberato wrote: > ...
4 years ago (2016-12-01 20:22:03 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540393002/40001
4 years ago (2016-12-01 20:22:32 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/115451)
4 years ago (2016-12-01 20:25:48 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2540393002/60001
4 years ago (2016-12-01 21:19:51 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-01 23:30:08 UTC) #21
commit-bot: I haz the power
4 years ago (2016-12-01 23:33:07 UTC) #23
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/997e9e7f24cf2c6b8433bbfeedeeaf5a6b7c6d13
Cr-Commit-Position: refs/heads/master@{#435756}

Powered by Google App Engine
This is Rietveld 408576698