зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1403622 - Allow VP8 HW decoder where known not to crash. r=cpearce
Windows 10 Falls Creator Update build 16287 is known to have the fix to the problem that made bug 1403063 necessary. MozReview-Commit-ID: 5m3ZWMes1yl --HG-- extra : rebase_source : 5f6cd508de75f7e315f4334f76d64b389e4f2ce3
This commit is contained in:
Родитель
3fa623c3c6
Коммит
95990a22df
|
@ -215,6 +215,12 @@ WMFDecoderModule::Supports(const TrackInfo& aTrackInfo,
|
|||
return true;
|
||||
}
|
||||
if (MediaPrefs::PDMWMFVP9DecoderEnabled()) {
|
||||
static const uint32_t VP8_USABLE_BUILD = 16287;
|
||||
if (VPXDecoder::IsVP8(aTrackInfo.mMimeType) &&
|
||||
IsWindowsBuildOrLater(VP8_USABLE_BUILD) &&
|
||||
CanCreateWMFDecoder<CLSID_WebmMfVpxDec>()) {
|
||||
return true;
|
||||
}
|
||||
if (VPXDecoder::IsVP9(aTrackInfo.mMimeType) &&
|
||||
((gfxPrefs::PDMWMFAMDVP9DecoderEnabled() &&
|
||||
CanCreateWMFDecoder<CLSID_AMDWebmMfVp9Dec>()) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче