[webkit-changes] [WebKit/WebKit] b350aa: Update WebCodecsVideoFrame color space to create a...
youennf
noreply at github.com
Tue Jul 4 00:07:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b350aafef14d4ee1049ed1cdef2e1d7743015fbb
https://github.com/WebKit/WebKit/commit/b350aafef14d4ee1049ed1cdef2e1d7743015fbb
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-07-04 (Tue, 04 Jul 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any.worker-expected.txt
R LayoutTests/platform/glib/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt
M LayoutTests/platform/ios-wk2/imported/w3c/web-platform-tests/webcodecs/videoFrame-construction.any-expected.txt
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.h
Log Message:
-----------
Update WebCodecsVideoFrame color space to create a valid VideoColorSpace 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
More information about the webkit-changes
mailing list