Bug 260711

Summary: [GStreamer] registerAppsinkWithWorkaroundsIfNeededCallOnce() should be callable from non-main threads
Product: WebKit Reporter: Philippe Normand <philn>
Component: PlatformAssignee: Philippe Normand <philn>
Status: RESOLVED FIXED    
Severity: Normal CC: aboya, bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Philippe Normand 2023-08-25 06:47:18 PDT
There is an ASSERT(isMainThread()) there but I see no motivation for this. Care to explain, Alicia?

This code might be triggered from worker threads in during WebCodecs initialization, that's why imported/w3c/web-platform-tests/webcodecs/video-decoder.crossOriginIsolated.https.any.worker.html crashes in Debug bots...
Comment 1 Philippe Normand 2023-08-25 07:09:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17069
Comment 2 EWS 2023-09-01 07:24:59 PDT
Committed 267550@main (c760465095dd): <https://commits.webkit.org/267550@main>

Reviewed commits have been landed. Closing PR #17069 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-09-01 07:26:14 PDT
<rdar://problem/114819848>