Skip to content

[GStreamer] http/wpt/webcodecs/av1-encoder-bit-depth.html is crashing - #78220

Open
philn wants to merge 1 commit into
WebKit:mainfrom
philn:eng/328835
Open

philn wants to merge 1 commit into
WebKit:mainfrom
philn:eng/328835

Conversation

@philn

@philn philn commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

a2a5586

[GStreamer] http/wpt/webcodecs/av1-encoder-bit-depth.html is crashing
https://bugs.webkit.org/show_bug.cgi?id=328835

Reviewed by NOBODY (OOPS!).

The crash was due to attempting to set a I422 video format, which doesn't exists in GStreamer.
Planar 4:2:2 8 bits is registered as Y42B.

* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/glib/http/wpt/webcodecs/av1-encoder-bit-depth-expected.txt: Added.
* Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.cpp:
(WebCore::av1CapsFromCodecString):

a2a5586

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 win
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-cmake-debug ✅ 🧪 wpe-wk2 ✅ 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
✅ 🧪 ios-wk2-wpt ✅ 🧪 api-mac-cmake-debug
✅ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk3-gcc
✅ 🛠 ios-safer-cpp ✅ 🧪 mac-cmake-debug-wk2 ✅ 🛠 gtk
✅ 🛠 vision ✅ 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-intel-wk2 ✅ 🧪 api-gtk
✅ 🧪 vision-wk2 ✅ 🛠 mac-safer-cpp ✅ 🛠 playstation
✅ 🛠 tv ✅ 🧪 mac-site-isolation
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

https://bugs.webkit.org/show_bug.cgi?id=328835

Reviewed by NOBODY (OOPS!).

The crash was due to attempting to set a I422 video format, which doesn't exists in GStreamer.
Planar 4:2:2 8 bits is registered as Y42B.

* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/glib/http/wpt/webcodecs/av1-encoder-bit-depth-expected.txt: Added.
* Source/WebCore/platform/gstreamer/GStreamerCodecUtilities.cpp:
(WebCore::av1CapsFromCodecString):
@philn philn self-assigned this Oct 25, 2026
@philn philn added the Platform Portability improvements and other general platform improvements not driven directly by site bugs. label Oct 25, 2026
@philn
philn requested a review from calvaris October 25, 2026 11:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Platform Portability improvements and other general platform improvements not driven directly by site bugs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants