mf/evr: Forward presenter service requests to the presenter.

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-08 18:10:38 +03:00 committed by Alexandre Julliard
parent 58f7c7823b
commit 612f96ae27
1 changed files with 4 additions and 0 deletions

View File

@ -478,6 +478,10 @@ static HRESULT WINAPI video_renderer_get_service_GetService(IMFGetService *iface
{ {
hr = IMFTransform_QueryInterface(renderer->mixer, &IID_IMFGetService, (void **)&gs); hr = IMFTransform_QueryInterface(renderer->mixer, &IID_IMFGetService, (void **)&gs);
} }
else if (IsEqualGUID(service, &MR_VIDEO_RENDER_SERVICE))
{
hr = IMFVideoPresenter_QueryInterface(renderer->presenter, &IID_IMFGetService, (void **)&gs);
}
else else
{ {
FIXME("Unsupported service %s.\n", debugstr_guid(service)); FIXME("Unsupported service %s.\n", debugstr_guid(service));