diff --git a/patches/mfplat-streaming-support/0038-mfplat-Stub-out-MFCreateDXGIDeviceManager-to-avoid-t.patch b/patches/mfplat-streaming-support/0038-mfplat-Stub-out-MFCreateDXGIDeviceManager-to-avoid-t.patch new file mode 100644 index 00000000..c7122429 --- /dev/null +++ b/patches/mfplat-streaming-support/0038-mfplat-Stub-out-MFCreateDXGIDeviceManager-to-avoid-t.patch @@ -0,0 +1,26 @@ +From 06dbd32747a1451deb12d1bebc9cbf5a56dfdca5 Mon Sep 17 00:00:00 2001 +From: Derek Lesho +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 + diff --git a/patches/patchinstall.sh b/patches/patchinstall.sh index a0814736..e5f5a7e3 100755 --- a/patches/patchinstall.sh +++ b/patches/patchinstall.sh @@ -2387,7 +2387,7 @@ fi # | * [#49692] Multiple applications need a Media Foundation media source implementation # | # | Modified files: -# | * dlls/mf/topology.c, dlls/winegstreamer/Makefile.in, dlls/winegstreamer/audioconvert.c, +# | * dlls/mf/topology.c, dlls/mfplat/main.c, dlls/winegstreamer/Makefile.in, dlls/winegstreamer/audioconvert.c, # | dlls/winegstreamer/colorconvert.c, dlls/winegstreamer/decode_transform.c, dlls/winegstreamer/gst_private.h, # | dlls/winegstreamer/media_source.c, dlls/winegstreamer/mfplat.c, dlls/winegstreamer/quartz_parser.c, # | dlls/winegstreamer/wg_parser.c, dlls/winegstreamer/winegstreamer_classes.idl, include/mfidl.idl, include/wmcodecdsp.idl @@ -2430,6 +2430,7 @@ if test "$enable_mfplat_streaming_support" -eq 1; then patch_apply mfplat-streaming-support/0035-winegstreamer-Don-t-rely-on-max_size-in-unseekable-p.patch patch_apply mfplat-streaming-support/0036-winegstreamer-Implement-MFT_MESSAGE_COMMAND_FLUSH-fo.patch patch_apply mfplat-streaming-support/0037-winegstreamer-Default-Frame-size-if-one-isn-t-availa.patch + patch_apply mfplat-streaming-support/0038-mfplat-Stub-out-MFCreateDXGIDeviceManager-to-avoid-t.patch fi # Patchset mmsystem.dll16-MIDIHDR_Refcount