-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update WebCodecsVideoFrame color space to create a valid VideoColorSp…
…ace even when closed https://bugs.webkit.org/show_bug.cgi?id=258802 rdar://111679281 Reviewed by Eric Carlson. Align with Chrome by creating an empty color space if the frame is closed before color space is created. Do not nullify color space when frame is closed, as per spec. * LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any.worker-expected.txt: * LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt: Removed. * Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp: (WebCore::WebCodecsVideoFrame::clone): (WebCore::WebCodecsVideoFrame::colorSpace const): * Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.h: Canonical link: https://commits.webkit.org/265748@main
- Loading branch information
Showing
6 changed files
with
9 additions
and
44 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...tTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt
This file contains 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
2 changes: 1 addition & 1 deletion
2
...imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any.worker-expected.txt
This file contains 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
34 changes: 0 additions & 34 deletions
34
...m/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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