зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1595994 - P23. Allow libvpx with alpha plane decoding in RDD process. r=mattwoodrow
Depends on D92863 Differential Revision: https://phabricator.services.mozilla.com/D92362
This commit is contained in:
Родитель
30f42deea0
Коммит
462245b388
|
@ -113,10 +113,7 @@ bool AgnosticDecoderModule::Supports(
|
|||
// something goes wrong with launching the RDD process.
|
||||
(AOMDecoder::IsAV1(mimeType) && IsAvailable(DecoderType::AV1)) ||
|
||||
#endif
|
||||
// We currently can't allocate a SharedRGBImage in the RDD process
|
||||
// (see bug 1668840) required to decode a video with an alpha channel.
|
||||
(VPXDecoder::IsVPX(mimeType) && IsAvailable(DecoderType::VPX) &&
|
||||
(!trackInfo.GetAsVideoInfo()->HasAlpha() || !XRE_IsRDDProcess())) ||
|
||||
(VPXDecoder::IsVPX(mimeType) && IsAvailable(DecoderType::VPX)) ||
|
||||
(TheoraDecoder::IsTheora(mimeType) && IsAvailable(DecoderType::Theora)) ||
|
||||
(VorbisDataDecoder::IsVorbis(mimeType) &&
|
||||
IsAvailable(DecoderType::Vorbis)) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче