Bug 246151 - Close WebCodecsVideo remote decoders in case of failure
Summary: Close WebCodecsVideo remote decoders in case of failure
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-06 06:36 PDT by youenn fablet
Modified: 2022-10-06 06:40 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2022-10-06 06:36:37 PDT
As per https://w3c.github.io/webcodecs/#dom-videoencoder-encode and https://w3c.github.io/webcodecs/#dom-videodecoder-decode, we should close encoders and decoders.
This can for instance happen in case of GPUProcess crash, or for bad data.
Currently, encoders do not provide error results.
Comment 1 Radar WebKit Bug Importer 2022-10-06 06:40:11 PDT
<rdar://problem/100851477>