Skip to content

Conversation

@sandersdan
Copy link
Contributor

@sandersdan sandersdan commented Sep 22, 2022

Fixes: #561

This change allows VideoColorSpaceInit dictionary values to be null, which allows VideoColorSpace to be used in place of a VideoColorSpaceInit as was always intended.

The alternative fix is to allow the values to be undefined, and that would be preferable except that it is not backwards-compatible.

Surprisingly no changes to the algorithms are required, they already behave correctly when null is passed.


Preview | Diff

@sandersdan sandersdan requested review from aboba and padenot September 22, 2022 20:45
@dalecurtis dalecurtis merged commit 9ad546a into main Oct 18, 2022
@dalecurtis dalecurtis deleted the videocolorspace-nullable branch October 18, 2022 21:10
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit that referenced this pull request Oct 18, 2022
SHA: 9ad546a
Reason: push, by dalecurtis

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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 this pull request may close these issues.

Inconsistent use of null

4 participants