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

Issue 1815423002: media: Stop flushing the renderer for pipeline suspend (Closed)

Created:
4 years, 9 months ago by watk
Modified:
4 years, 9 months ago
CC:
DaleCurtis, chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Stop flushing the renderer for pipeline suspend Previously when performing a pipeline suspend we would flush the renderer before destructing it. This CL removes the flush because it's no longer necessary and has issues: 1) it adds ~100-150ms to suspend on a Galaxy Nexus (which makes a difference for fullscreen transitions), and 2) on <API level 18 devices it will cause AVDA to go into an error state when it handles the flush by creating a new MediaCodec without a valid output surface. BUG=596641, 595545 TEST=media_unittests Committed: https://crrev.com/9edddb9ded49023460a204675ee4e9bb763b9da7 Cr-Commit-Position: refs/heads/master@{#382417}

Patch Set 1 #

Patch Set 2 : Removing Flush from unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -15 lines) Patch
M media/base/pipeline_impl.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M media/base/pipeline_impl_unittest.cc View 1 2 chunks +0 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
watk
I tested this on Android by causing a bunch of suspends and wasn't able to ...
4 years, 9 months ago (2016-03-21 20:30:23 UTC) #2
DaleCurtis
Should give this a BUG= since we might want to merge later since this speeds ...
4 years, 9 months ago (2016-03-21 20:32:06 UTC) #4
sandersd (OOO until July 31)
4 years, 9 months ago (2016-03-21 21:16:25 UTC) #9
sandersd (OOO until July 31)
lgtm
4 years, 9 months ago (2016-03-21 21:16:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1815423002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1815423002/20001
4 years, 9 months ago (2016-03-21 21:36:08 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-21 22:21:19 UTC) #14
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/9edddb9ded49023460a204675ee4e9bb763b9da7 Cr-Commit-Position: refs/heads/master@{#382417}
4 years, 9 months ago (2016-03-21 22:22:32 UTC) #16
watk
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1824923002/ by watk@chromium.org. ...
4 years, 9 months ago (2016-03-22 00:56:20 UTC) #17
DaleCurtis
4 years, 9 months ago (2016-03-22 17:16:47 UTC) #19
Message was sent while issue was closed.
Ah, you'll likely need to abort the current read or wait for it to complete
before allowing resume. It might be possible to coordinate the demuxer and
pipeline in some way to resolve this.

Powered by Google App Engine
This is Rietveld 408576698