forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1928484 - add origin check to determine the HEVC support for CanP…
…layType() and IsTypeSupported(). r=jrmuizel,aosmond, a=dmeehan When the pref 'media.wmf.hevc.enabled' is not equal to `1`, the HEVC is only enabled through the media engine, which is used for EME playback only. Therefore, a quick workaround to prevent websites from using HEVC on non-EME playback is to block HEVC on HTMLMediaElement::CanPlayType() and MediaSource::IsTypeSupported(). This workaround should be removed after enaling HEVC for all playback in the bug 1928536. Differential Revision: https://phabricator.services.mozilla.com/D227572
- Loading branch information
1 parent
f78c915
commit 41bfc1c
Showing
5 changed files
with
77 additions
and
4 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