diff --git a/dom/media/platforms/PDMFactory.cpp b/dom/media/platforms/PDMFactory.cpp index 38d44946fad1..a49f15ea3850 100644 --- a/dom/media/platforms/PDMFactory.cpp +++ b/dom/media/platforms/PDMFactory.cpp @@ -390,15 +390,6 @@ bool PDMFactory::Supports(const SupportDecoderParams& aParams, if (mEMEPDM) { return mEMEPDM->Supports(aParams, aDiagnostics); } - if (VPXDecoder::IsVPX(aParams.MimeType(), - VPXDecoder::VP8 | VPXDecoder::VP9) && - !aParams.mConfig.GetAsVideoInfo()->HasAlpha()) { - // Work around bug 1521370, where trying to instantiate an external decoder - // could cause a crash. - // We always ship a VP8/VP9 decoder (libvpx) and optionally we have ffvpx. - // So we can speed up the test by assuming that this codec is supported. - return true; - } RefPtr current = GetDecoderModule(aParams, aDiagnostics);