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:
parent
344d3fb8a4
commit
b7d341497e
|
@ -552,6 +552,9 @@ static HRESULT media_engine_create_topology(struct media_engine *engine, IMFMedi
|
||||||
if (video_src)
|
if (video_src)
|
||||||
IMFTopologyNode_Release(video_src);
|
IMFTopologyNode_Release(video_src);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (SUCCEEDED(hr))
|
||||||
|
hr = IMFMediaSession_SetTopology(engine->session, MFSESSION_SETTOPOLOGY_IMMEDIATE, topology);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (topology)
|
if (topology)
|
||||||
|
|
Loading…
Reference in New Issue