[webkit-changes] [WebKit/WebKit] b02ab7: Fix WebCodecsVideoDecoder isValidDecoderConfig
youennf
noreply at github.com
Fri Oct 7 03:41:59 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b02ab78bd7bb5e79ac9dadef16b3f8231523609d
https://github.com/WebKit/WebKit/commit/b02ab78bd7bb5e79ac9dadef16b3f8231523609d
Author: Youenn Fablet <youennf at gmail.com>
Date: 2022-10-07 (Fri, 07 Oct 2022)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/video-decoder.https.any-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/video-decoder.https.any.worker-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_h264_annexb-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_h264_avc-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_vp8-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_vp9-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_h264_annexb-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_h264_avc-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_vp8-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_vp9-expected.txt
M Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp
Log Message:
-----------
Fix WebCodecsVideoDecoder isValidDecoderConfig
https://bugs.webkit.org/show_bug.cgi?id=246079
rdar://problem/100805259
Reviewed by Eric Carlson.
Add a check to validate decoder config in WebCodecsVideoDecoder::configure.
Also fix the actual checks so that they are inline with https://w3c.github.io/webcodecs/#valid-videodecoderconfig.
Covered by rebased tests.
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_h264_annexb-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_h264_avc-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_vp8-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any.worker_vp9-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_vp8-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_h264_annexb-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_h264_avc-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/webcodecs/videoDecoder-codec-specific.https.any_vp9-expected.txt:
* Source/WebCore/Modules/webcodecs/WebCodecsVideoDecoder.cpp:
(WebCore::isValidDecoderConfig):
(WebCore::WebCodecsVideoDecoder::configure):
Canonical link: https://commits.webkit.org/255260@main
More information about the webkit-changes
mailing list