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

Conversation

markafoltz
Copy link
Contributor

@markafoltz markafoltz commented Sep 17, 2024

This addresses #152.

If the colorGamut and/or transferFunction are not valid for the video contentType, all of the MediaCapabiliitesInfo fields are returned as false.

This PR does not handle the same situation for encodingInfo().


Preview | Diff

@markafoltz markafoltz self-assigned this Sep 17, 2024
@markafoltz markafoltz added the TPAC2024 Topic for discussion at TPAC 2024 label Sep 17, 2024
Copy link
Member

@chrisn chrisn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we merge #222, "valid video MIME type" will go away. Could this refer to "valid video configuration"? (But see also #222 (comment)).

@markafoltz
Copy link
Contributor Author

Let's land #222 and then I will update this PR accordingly.

@markafoltz
Copy link
Contributor Author

Side note: Add WPT for this and to confirm interop; should be easy to test as it does not rely on actual capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TPAC2024 Topic for discussion at TPAC 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discuss how to reconcile colorGamut & transferFunction with ISO 23001-8:2016
2 participants