Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle video profiles mismatched with colorGamut and transferFunction. #231

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -842,6 +842,29 @@ spec: mimesniff; urlPrefix: https://mimesniff.spec.whatwg.org/#
configuration</var> create a new property with the same name and
value in {{MediaCapabilitiesDecodingInfo/configuration}}.
</li>
<li>
If <code>configuration.video</code> [=map/exists=]:
<ol>
<li>
If <code>configuration.video.colorGamut</code> exists and is not
valid for the <a>valid video MIME type</a> represented by
<code>configuration.video.contentType</code>, set
{{MediaCapabilitiesInfo/supported}} to <code>false</code>.
</li>
<li>
If <code>configuration.video.transferFunction</code> exists and
is not valid for the <a>valid video MIME type</a> represented by
<code>configuration.video.contentType</code>, set
{{MediaCapabilitiesInfo/supported}} to <code>false</code>.
</li>
<li>
If {{MediaCapabilitiesInfo/supported}} is <code>false</code>, set
{{MediaCapabilitiesInfo/smooth}} and
{{MediaCapabilitiesInfo/powerEfficient}} to <code>false</code>, and
return <var>info</var>.
</li>
</ol>
</li>
<li>
If <code>configuration.keySystemConfiguration</code> [=map/exists=]:
<ol>
Expand Down
Loading