[webkit-changes] [WebKit/WebKit] 8a21dc: [GStreamer] http/wpt/webcodecs/hevc-encoder-config...
Philippe Normand
noreply at github.com
Fri Sep 8 02:54:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8a21dcdda524903b19b086f9a136b360480547e0
https://github.com/WebKit/WebKit/commit/8a21dcdda524903b19b086f9a136b360480547e0
Author: Philippe Normand <philn at igalia.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
M LayoutTests/http/wpt/webcodecs/hevc-encoder-config.https.any.js
M LayoutTests/platform/glib/TestExpectations
A LayoutTests/platform/glib/media/media-can-play-h265-video-expected.txt
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp
M Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h
Log Message:
-----------
[GStreamer] http/wpt/webcodecs/hevc-encoder-config.https.any.html fails
https://bugs.webkit.org/show_bug.cgi?id=261267
Reviewed by Youenn Fablet and Xabier Rodriguez-Calvar.
The GStreamer registry scanner now checks the validity of HEVC codec strings before looking-up an
encoder or decoder for it.
The test was also flaky, calling flush after the asynchronous configuration can lead to flakyness
where the exception caught during flush would be the one raised during configuration. So remove the
flush part.
* LayoutTests/http/wpt/webcodecs/hevc-encoder-config.https.any.js:
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.cpp:
(WebCore::GStreamerRegistryScanner::isCapsSupported const):
(WebCore::GStreamerRegistryScanner::isHEVCCodecSupported const):
(WebCore::GStreamerRegistryScanner::isCodecSupported const):
(WebCore::GStreamerRegistryScanner::isAVC1CodecSupported const):
* Source/WebCore/platform/graphics/gstreamer/GStreamerRegistryScanner.h:
Canonical link: https://commits.webkit.org/267781@main
More information about the webkit-changes
mailing list