Descriptionmedia: 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 #
Messages
Total messages: 19 (10 generated)
|