From 612f96ae27a7a117e5d5260ab7c01f15b030c6f1 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Wed, 8 Jul 2020 18:10:38 +0300 Subject: [PATCH] mf/evr: Forward presenter service requests to the presenter. Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- dlls/mf/evr.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/mf/evr.c b/dlls/mf/evr.c index 8b7de5c76bb..d20fb1a395d 100644 --- a/dlls/mf/evr.c +++ b/dlls/mf/evr.c @@ -478,6 +478,10 @@ static HRESULT WINAPI video_renderer_get_service_GetService(IMFGetService *iface { 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 { FIXME("Unsupported service %s.\n", debugstr_guid(service));