зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1410022 - Remove redundant PDM::Supports check caused by bug 1407919 part6. r=gerald
MozReview-Commit-ID: EoAARcmhjlV --HG-- extra : rebase_source : 560d91e004f0787278e7e3181e58c953c27368e5
This commit is contained in:
Родитель
ac57f6f7df
Коммит
bcfbcfbc4a
|
@ -58,11 +58,12 @@ WebMDecoder::IsSupportedType(const MediaContainerType& aContainerType)
|
|||
uint8_t bitDepth = 0;
|
||||
if (ExtractVPXCodecDetails(codec, profile, level, bitDepth)) {
|
||||
trackInfo->GetAsVideoInfo()->mBitDepth = bitDepth;
|
||||
}
|
||||
// Verify that we have a PDM that supports this bit depth.
|
||||
RefPtr<PDMFactory> platform = new PDMFactory();
|
||||
if (!platform->Supports(*trackInfo, nullptr)) {
|
||||
return false;
|
||||
|
||||
// Verify that we have a PDM that supports this bit depth.
|
||||
RefPtr<PDMFactory> platform = new PDMFactory();
|
||||
if (!platform->Supports(*trackInfo, nullptr)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче