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.
Destroy the fallback decoder after enough sw frames are decoded.
We only need to hold onto the GPU decoder long enough that previous frames have been rendered; once we exceed kMaxFrames we know we've exhausted all hardware frames and can destruct the decoder. BUG=none TEST=media_unittests Review URL: https://codereview.chromium.org/1417183002 Cr-Commit-Position: refs/heads/master@{#355930}
- Loading branch information
1 parent
8c44d69
commit 4c55978
Showing
3 changed files
with
22 additions
and
5 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