Updated mfplat-streaming-support patchset

Added a patch again to disable Function MFCreateDXGIDeviceManager.

This causes videos to render as a black screen.
Until support for the internal rendering flag SOURCE_READER_HAS_DEVICE_MANAGER is
better support through mf*, this patch will be here to stay.

Games affected.
Power Ranger: Battle for the Grid (Steam).
Oddworld: Soulstorm (Epic).
This commit is contained in:
Alistair Leslie-Hughes
2021-08-11 09:37:13 +10:00
parent bdb9f49c3e
commit 16476ce303
2 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,26 @@
From 06dbd32747a1451deb12d1bebc9cbf5a56dfdca5 Mon Sep 17 00:00:00 2001
From: Derek Lesho <dlesho@codeweavers.com>
Date: Thu, 18 Mar 2021 16:54:44 -0400
Subject: [PATCH] mfplat: Stub out MFCreateDXGIDeviceManager, to avoid the d3d
path.
---
dlls/mfplat/main.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c
index 7fd713261fc..9e458ea49bb 100644
--- a/dlls/mfplat/main.c
+++ b/dlls/mfplat/main.c
@@ -8891,6 +8891,8 @@ HRESULT WINAPI MFCreateDXGIDeviceManager(UINT *token, IMFDXGIDeviceManager **man
TRACE("%p, %p.\n", token, manager);
+ return E_NOTIMPL;
+
if (!token || !manager)
return E_POINTER;
--
2.30.2