Skip to content

Commit

Permalink
patches: add seven mfplat workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
GloriousEggroll committed Apr 8, 2021
1 parent 12c7df3 commit 1c4cc0a
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions patches/wine-hotfixes/mfplat-rebase.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6375,3 +6375,21 @@ index 4772c958f8e..266c5dc1140 100644
}
return TRUE;
}
diff --git a/dlls/winegstreamer/media_source.c b/dlls/winegstreamer/media_source.c
index eb5b9e366ec..3ce8ff40f9b 100644
--- a/dlls/winegstreamer/media_source.c
+++ b/dlls/winegstreamer/media_source.c
@@ -864,6 +902,13 @@ static HRESULT WINAPI media_source_get_service_GetService(IMFGetService *iface,
struct media_source *source = impl_from_IMFGetService(iface);

TRACE("%p, %s, %s, %p.\n", iface, debugstr_guid(service), debugstr_guid(riid), obj);
+
+ const char *sgi = getenv("SteamGameId");
+ if (sgi && !strcmp(sgi, "471010"))
+ {
+ FIXME("stub %p, %s, %s, %p.\n", iface, debugstr_guid(service), debugstr_guid(riid), obj);
+ return E_NOINTERFACE;
+ }

*obj = NULL;

0 comments on commit 1c4cc0a

Please sign in to comment.