Bug 1329386 - Fallback to WMF decoding if the OOP decoder fails. r=jya

This commit is contained in:
Matt Woodrow 2017-01-12 15:35:10 +13:00
parent 4e6b9e51c7
commit fd9309fe71

View File

@ -164,7 +164,7 @@ RemoteDecoderModule::CreateVideoDecoder(const CreateDecoderParams& aParams)
if (!MediaPrefs::PDMUseGPUDecoder() ||
!aParams.mKnowsCompositor ||
aParams.mKnowsCompositor->GetTextureFactoryIdentifier().mParentProcessType != GeckoProcessType_GPU) {
return nullptr;
return mWrapped->CreateVideoDecoder(aParams);
}
MediaDataDecoderCallback* callback = aParams.mCallback;