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

Issue 1824923002: Revert of 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

Revert of media: Stop flushing the renderer for pipeline suspend (patchset #2 id:20001 of https://codereview.chromium.org/1815423002/ ) Reason for revert: This hit a CHECK in PipelineIntegrationTest.SuspendWhilePlaying [12876:12876:0321/173811:1285613567:FATAL:ffmpeg_demuxer.cc(592)] Check failed: read_cb_.is_null(). Overlapping reads are not supported https://build.chromium.org/p/chromium.memory.fyi/builders/Chromium%20OS%20%28valgrind%29%281%29/builds/41437 This was something we didn't consider and probably can't be relanded without a fair amount of work. Original issue's 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} TBR=sandersd@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=596641, 595545 Committed: https://crrev.com/4c88276f8f1fdcb0a921bfb979e22cd2acf241bb Cr-Commit-Position: refs/heads/master@{#382465}

Patch Set 1 #

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

Messages

Total messages: 7 (2 generated)
watk
Created Revert of media: Stop flushing the renderer for pipeline suspend
4 years, 9 months ago (2016-03-22 00:56:21 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1824923002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1824923002/1
4 years, 9 months ago (2016-03-22 00:56:40 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 9 months ago (2016-03-22 00:57:08 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/4c88276f8f1fdcb0a921bfb979e22cd2acf241bb Cr-Commit-Position: refs/heads/master@{#382465}
4 years, 9 months ago (2016-03-22 00:59:03 UTC) #6
sandersd (OOO until July 31)
4 years, 9 months ago (2016-03-22 01:01:32 UTC) #7
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698