mfmediaengine: Provide the partial topology to the media session.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Derek Lesho 2020-11-03 15:56:04 +03:00 committed by Alexandre Julliard
parent 344d3fb8a4
commit b7d341497e
1 changed files with 3 additions and 0 deletions

View File

@ -552,6 +552,9 @@ static HRESULT media_engine_create_topology(struct media_engine *engine, IMFMedi
if (video_src)
IMFTopologyNode_Release(video_src);
}
if (SUCCEEDED(hr))
hr = IMFMediaSession_SetTopology(engine->session, MFSESSION_SETTOPOLOGY_IMMEDIATE, topology);
}
if (topology)