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

--HG--
extra : rebase_source : 126e76c97538c429660f6e34a718c8dd57fb4a41
This commit is contained in:
Matt Woodrow 2017-01-19 12:35:44 +13:00
Родитель 95949a3432
Коммит 2f00b8ce05
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;