[webkit-changes] [WebKit/WebKit] 66f1f6: Fix VideoFrame displayWidth and displayHeight when...
youennf
noreply at github.com
Thu Oct 13 10:11:07 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 66f1f681ee5c1ab9bcea38bc0e2c628fe0361fa4
https://github.com/WebKit/WebKit/commit/66f1f681ee5c1ab9bcea38bc0e2c628fe0361fa4
Author: Youenn Fablet <youennf at gmail.com>
Date: 2022-10-13 (Thu, 13 Oct 2022)
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
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp
M Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.h
Log Message:
-----------
Fix VideoFrame displayWidth and displayHeight when creating a frame from another one
https://bugs.webkit.org/show_bug.cgi?id=246449
rdar://problem/101118814
Reviewed by Eric Carlson.
Correctly set displayWidth and displayHeight as per https://w3c.github.io/webcodecs/#videoframe-initialize-frame-from-other-frame.
* 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:
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.cpp:
(WebCore::WebCodecsVideoFrame::create):
(WebCore::WebCodecsVideoFrame::initializeFrameFromOtherFrame):
* Source/WebCore/Modules/webcodecs/WebCodecsVideoFrame.h:
Canonical link: https://commits.webkit.org/255487@main
More information about the webkit-changes
mailing list