[WIP]
Bug 1309492 part 1 - use blank decoder module again and create black frames; r?jwwang
MozReview-Commit-ID: ERtZhd6MopD
--- a/dom/media/platforms/PDMFactory.cpp
+++ b/dom/media/platforms/PDMFactory.cpp
@@ -423,17 +423,18 @@ PDMFactory::CreatePDMs()
} else {
mGMPPDMFailedToStartup = false;
}
}
void
PDMFactory::CreateNullPDM()
{
- mNullPDM = CreateNullDecoderModule();
+ mNullPDM = CreateBlankDecoderModule();
+// mNullPDM = CreateNullDecoderModule();
MOZ_ASSERT(mNullPDM && NS_SUCCEEDED(mNullPDM->Startup()));
}
bool
PDMFactory::StartupPDM(PlatformDecoderModule* aPDM)
{
if (aPDM && NS_SUCCEEDED(aPDM->Startup())) {
mCurrentPDMs.AppendElement(aPDM);