Repository navigation
Conversation
- Define an internal color space on video media resources for rendering, conversion, and encoding. - In Output VideoFrames, expose VideoDecoderConfig.colorSpace as-is when at least one member is non-null; treat an empty colorSpace like omitting it. - Populate outputConfig.colorSpace in Output EncodedVideoChunks. - Remove heuristic guessing from Pick Color Space and fall back to sRGB or REC709 at render time when primaries, transfer, or matrix are unspecified. Fixes w3c#940
Contributor
Author
|
Gist of the change Referring to #954 as Option 1 (most-specified wins), #957 as Option 2 (most-specified + HW decoders can override), and this PR as Option 3 (config-as-is): Browser behavior (Option 3 vs. Options 1 & 2):
What it means for web developers:
|
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #940
Preview | Diff