The software color converter DMO on Windows seems to be broken using certain topologies, making our media engine not work. As such, make the topology loader use the hardware accelerated one.
From: Bernhard Kölbl bkoelbl@codeweavers.com
The software color converter DMO on Windows seems to be broken using certain topologies, making our media engine not work. As such, make the topology loader use the hardware accelerated one. --- dlls/mfmediaengine/main.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/mfmediaengine/main.c b/dlls/mfmediaengine/main.c index 27249f09fa6..c5320a15d10 100644 --- a/dlls/mfmediaengine/main.c +++ b/dlls/mfmediaengine/main.c @@ -1392,6 +1392,7 @@ static HRESULT media_engine_create_topology(struct media_engine *engine, IMFMedi }
IMFTopology_SetUINT32(topology, &MF_TOPOLOGY_ENUMERATE_SOURCE_TYPES, TRUE); + IMFTopology_SetUINT32(topology, &MF_TOPOLOGY_ENABLE_XVP_FOR_PLAYBACK, TRUE);
if (SUCCEEDED(hr)) hr = IMFMediaSession_SetTopology(engine->session, MFSESSION_SETTOPOLOGY_IMMEDIATE, topology);
Should be harmless, since we don't use this attribute internally.
This merge request was approved by Nikolay Sivov.