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

Issue 2029373002: media: AVDA::QueueInput/DequeueOutput bail if state_ is invalid (Closed)

Created:
4 years, 6 months ago by watk
Modified:
4 years, 6 months ago
Reviewers:
DaleCurtis
CC:
chromium-reviews, feature-media-reviews_chromium.org, liberato (no reviews please), piman+watch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: AVDA::QueueInput/DequeueOutput bail if state_ is invalid Previously AVDA::DoIOTask() checked that state_ was valid before calling QueueInput and DequeueOutput. Now, because we call them multiple times in a row, it's possible for state_ to change and for it to be no longer valid to call them. This CL adds early returns when the state is invalid. BUG=612343, 612264 Committed: https://crrev.com/79b7deae415586f31d55268b9847610dde4e272e Cr-Commit-Position: refs/heads/master@{#397480}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M media/gpu/android_video_decode_accelerator.cc View 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
watk
4 years, 6 months ago (2016-06-02 00:22:36 UTC) #2
DaleCurtis
Nice catch, lgtm
4 years, 6 months ago (2016-06-02 00:23:52 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029373002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029373002/1
4 years, 6 months ago (2016-06-02 00:25:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029373002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029373002/1
4 years, 6 months ago (2016-06-02 00:36:16 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239321)
4 years, 6 months ago (2016-06-02 02:22:02 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029373002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029373002/1
4 years, 6 months ago (2016-06-02 03:38:52 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/239579)
4 years, 6 months ago (2016-06-02 04:26:19 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2029373002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2029373002/1
4 years, 6 months ago (2016-06-02 17:12:10 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-02 18:37:11 UTC) #17
commit-bot: I haz the power
4 years, 6 months ago (2016-06-02 18:40:22 UTC) #19
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/79b7deae415586f31d55268b9847610dde4e272e
Cr-Commit-Position: refs/heads/master@{#397480}

Powered by Google App Engine
This is Rietveld 408576698