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

Type mismatch in colorSpace parameter to Convert to RGB frame #831

Open
jyasskin opened this issue Sep 4, 2024 · 0 comments · May be fixed by #835
Open

Type mismatch in colorSpace parameter to Convert to RGB frame #831

jyasskin opened this issue Sep 4, 2024 · 0 comments · May be fixed by #835
Assignees

Comments

@jyasskin
Copy link
Member

jyasskin commented Sep 4, 2024

https://w3c.github.io/webcodecs/#dom-videoframe-copyto takes a colorSpace of type PredefinedColorSpace, an enum of "srgb" and "display-p3". It passes it to https://w3c.github.io/webcodecs/#videoframe-convert-to-rgb-frame, which assigns it to https://w3c.github.io/webcodecs/#dom-videoframe-color-space-slot of type VideoColorSpace, which is a whole constructible interface. There needs to be a conversion of some sort in there.

I think this was introduced in #754. cc/ @Djuffin

@Djuffin Djuffin linked a pull request Sep 11, 2024 that will close this issue
@Djuffin Djuffin self-assigned this Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants