From 8b5866b161995ef5063af3e10ed1a709c193d0ec Mon Sep 17 00:00:00 2001 From: Chun-Min Chang Date: Wed, 10 Jul 2024 01:12:06 +0000 Subject: [PATCH] Bug 1902115 - Update VideoFrameCopyToOptions webidl r=webidl,media-playback-reviewers,smaug,padenot This patch updates the `VideoFrameCopyToOptions` webidl to meet the changes in WebCodecs PR 754 [1]. [1] https://github.com/w3c/webcodecs/pull/754 Differential Revision: https://phabricator.services.mozilla.com/D213805 --- dom/webidl/VideoFrame.webidl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/webidl/VideoFrame.webidl b/dom/webidl/VideoFrame.webidl index 325a9fa85173..3d8b2fc99d38 100644 --- a/dom/webidl/VideoFrame.webidl +++ b/dom/webidl/VideoFrame.webidl @@ -107,6 +107,8 @@ dictionary VideoFrameBufferInit { dictionary VideoFrameCopyToOptions { DOMRectInit rect; sequence layout; + VideoPixelFormat format; + PredefinedColorSpace colorSpace; }; dictionary PlaneLayout {