mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Bug 1329386 - Fallback to WMF decoding if the OOP decoder fails. r=jya
This commit is contained in:
parent
4e6b9e51c7
commit
fd9309fe71
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user