Skip to content

Commit

Permalink
HACK: mfplat: Enable new media source by default for more games.
Browse files Browse the repository at this point in the history
CW-Bug-Id: #23618
  • Loading branch information
rbernon committed Apr 12, 2024
1 parent 9f43fa5 commit b11119b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dlls/mfplat/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6304,6 +6304,7 @@ static HRESULT resolver_create_gstreamer_handler(IMFByteStreamHandler **handler)
if (!strcmp(sgi, "399810") /* Call of Cthulhu */) env = "1";
if (!strcmp(sgi, "606880") /* Greedfall */) env = "1";
if (!strcmp(sgi, "692850") /* Bloodstained */) env = "1";
if (!strcmp(sgi, "934700") /* Dead Island 2 */) env = "1";
}
if (env && atoi(env)) return CoCreateInstance(&CLSID_GStreamerByteStreamHandler2, NULL, CLSCTX_INPROC_SERVER, &IID_IMFByteStreamHandler, (void **)handler);

Expand Down

0 comments on commit b11119b

Please sign in to comment.