Skip to content

Commit

Permalink
fixup! HACK: winegstreamer: Disable MF_SA_D3D11_AWARE for some games.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivyl committed Nov 21, 2023
1 parent ed69f61 commit b242e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlls/winegstreamer/h264_decoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ HRESULT h264_decoder_create(REFIID riid, void **ret)

{
const char *sgi;
if ((sgi = getenv("SteamGameId")) && (!strcmp(sgi, "2009100")))
if ((sgi = getenv("SteamGameId")) && ((!strcmp(sgi, "2009100")) || (!strcmp(sgi, "2555360"))))
IMFAttributes_SetUINT32(decoder->attributes, &MF_SA_D3D11_AWARE, FALSE);
}

Expand Down

0 comments on commit b242e93

Please sign in to comment.