Bug 246152

Summary: Close WebCodecsVideo remote encoders in case of failure
Product: WebKit Reporter: youenn fablet <youennf>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description youenn fablet 2022-10-06 06:39:16 PDT
As per https://w3c.github.io/webcodecs/#dom-videoencoder-encode, we should close encoders in case of error.
This can for instance happen in case of GPUProcess crash.
Currently, encoders do not provide error results.
Comment 1 Radar WebKit Bug Importer 2022-10-13 06:40:18 PDT
<rdar://problem/101124370>