mf/evr: Return mixer's transform for MR_VIDEO_MIXER_SERVICE requests.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-07-09 15:08:50 +03:00 committed by Alexandre Julliard
parent 03401edef8
commit 34d4535292
1 changed files with 10 additions and 2 deletions

View File

@ -642,8 +642,16 @@ static HRESULT WINAPI video_renderer_service_lookup_LookupService(IMFTopologySer
} }
else if (IsEqualGUID(service, &MR_VIDEO_MIXER_SERVICE)) else if (IsEqualGUID(service, &MR_VIDEO_MIXER_SERVICE))
{ {
FIXME("Unimplemented lookup for mixer service.\n"); if (IsEqualIID(riid, &IID_IMFTransform))
hr = MF_E_UNSUPPORTED_SERVICE; {
*objects = renderer->mixer;
IUnknown_AddRef((IUnknown *)*objects);
}
else
{
FIXME("Unsupported interface %s for mixer service.\n", debugstr_guid(riid));
hr = E_NOINTERFACE;
}
} }
else else
{ {