We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d2ed3d commit ca4e8d6Copy full SHA for ca4e8d6
dlls/winegstreamer/h264_decoder.c
@@ -887,6 +887,13 @@ HRESULT h264_decoder_create(REFIID riid, void **ret)
887
goto failed;
888
if (FAILED(hr = IMFAttributes_SetUINT32(decoder->attributes, &MF_SA_D3D11_AWARE, TRUE)))
889
890
+
891
+ {
892
+ const char *sgi;
893
+ if ((sgi = getenv("SteamGameId")) && (!strcmp(sgi, "2009100")))
894
+ IMFAttributes_SetUINT32(decoder->attributes, &MF_SA_D3D11_AWARE, FALSE);
895
+ }
896
897
if (FAILED(hr = MFCreateAttributes(&decoder->output_attributes, 0)))
898
899
if (FAILED(hr = wg_sample_queue_create(&decoder->wg_sample_queue)))
0 commit comments