forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow WMPI to drive compositor updates for invisible video tags.
Invisible tags don't get compositor updates, so we need to let them drive those updates (within reason). This allows VideoFrameCompositor instances without a VideoFrameProvider::Client to update at up to 250Hz, which should be enough for everyone. This is done by introducing GetCurrentFrameAndMaybeBackgroundRender() which is called by WebMediaPlayerImpl for grabbing frames. If we have no client, have a callback, and are background rendering, this allows WebMediaPlayerImpl::paint() calls to drive frame acquisition. Also fixes bug with media_blink_unittests which isn't caught by the try bots for some reason... BUG=485783 TEST=new unittest, ro.me plays great. Review URL: https://codereview.chromium.org/1132213002 Cr-Commit-Position: refs/heads/master@{#329201}
- Loading branch information
1 parent
d5fcf98
commit 44ce4de
Showing
5 changed files
with
112 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters