forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable "pause on hide" when flinging videos
Currently, we sometimes pause videos when they are hidden, as an optimization. This causes videos flung to cast devices to pause as well, since the pause command sent to the FlingingRenderer is forwarded to the cast device. This CL fixes adds a new flag to track whether or not we are currently flinging a video, and disables ShouldPauseVideoWhenHidden() when we are. Bug: 790766 Change-Id: I7729ab2c8187ffd1c77ebb6c48301165dea1d90f Reviewed-on: https://chromium-review.googlesource.com/c/1292820 Reviewed-by: Dan Sanders <sandersd@chromium.org> Commit-Queue: Thomas Guilbert <tguilbert@chromium.org> Cr-Commit-Position: refs/heads/master@{#601386}
- Loading branch information
1 parent
9d39d8b
commit 29ae1a9
Showing
2 changed files
with
12 additions
and
2 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