Remove PlatformDecoderModule support for synchronous decoder creation
Categories
(Core :: Audio/Video, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 external file)
This shouldn't have any functional change, but it does simplify code that struggles to deal with synchronous decoder creation, when asynchronous is more natural. I have later changes that need this.
| Assignee | ||
Comment 1•1 month ago
|
||
AsyncCreateDecoder is now the only way for a PlatformDecoderModule to create a
decoder, and CreateVideoDecoder and CreateAudioDecoder are no longer part of
the interface. Modules which still create their decoders synchronously use the
new CreateDecoderPromiseFrom helper, and the MediaResult out-parameter on
CreateDecoderParams and SupportDecoderParams is removed in favour of rejecting
the promise.
There is no intended change in behaviour. This allows a module to finish
setting up a decoder asynchronously before deciding whether it can be used,
while still letting PDMFactory fall back to another module.
Comment 3•1 month ago
|
||
| bugherder | ||
Updated•26 days ago
|
Description
•