[webkit-changes] [WebKit/WebKit] e7326a: MediaStream from canvas (captureStream) cannot be ...
youennf
noreply at github.com
Tue Jun 13 11:40:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e7326a948d62036667f2f3c35813528c145befd0
https://github.com/WebKit/WebKit/commit/e7326a948d62036667f2f3c35813528c145befd0
Author: Youenn Fablet <youennf at gmail.com>
Date: 2023-06-13 (Tue, 13 Jun 2023)
Changed paths:
A LayoutTests/fast/mediastream/canvas-video-to-canvas-expected.html
A LayoutTests/fast/mediastream/canvas-video-to-canvas.html
M Source/WebKit/GPUProcess/media/RemoteVideoFrameObjectHeap.cpp
Log Message:
-----------
MediaStream from canvas (captureStream) cannot be rendered into a different canvas
https://bugs.webkit.org/show_bug.cgi?id=257956
rdar://110696945
Reviewed by Eric Carlson.
When painting a BGRA video into a canvas, we do not need to convert the video frame.
Our code path would return null and we would bail out.
Instead, we are now skipping the convert step.
* LayoutTests/fast/mediastream/canvas-video-to-canvas-expected.html: Added.
* LayoutTests/fast/mediastream/canvas-video-to-canvas.html: Added.
* Source/WebKit/GPUProcess/media/RemoteVideoFrameObjectHeap.cpp:
(WebKit::RemoteVideoFrameObjectHeap::convertFrameBuffer):
Canonical link: https://commits.webkit.org/265128@main
More information about the webkit-changes
mailing list