diff --git a/dom/media/ipc/RemoteVideoDecoder.cpp b/dom/media/ipc/RemoteVideoDecoder.cpp index 3f4e3ca403eb..0cbc5a0689eb 100644 --- a/dom/media/ipc/RemoteVideoDecoder.cpp +++ b/dom/media/ipc/RemoteVideoDecoder.cpp @@ -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;