Nikolay Sivov : mf/evr: Do not set user context for activator object.
Alexandre Julliard
julliard at winehq.org
Thu Jul 9 17:10:39 CDT 2020
Module: wine
Branch: master
Commit: 65d3383be9cd6c6ba182bd27bb61dab961e90f01
URL: https://source.winehq.org/git/wine.git/?a=commit;h=65d3383be9cd6c6ba182bd27bb61dab961e90f01
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Thu Jul 9 15:08:46 2020 +0300
mf/evr: Do not set user context for activator object.
Window handle is passed as an attribute.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mf/evr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mf/evr.c b/dlls/mf/evr.c
index d20fb1a395..b35af55353 100644
--- a/dlls/mf/evr.c
+++ b/dlls/mf/evr.c
@@ -619,7 +619,7 @@ HRESULT WINAPI MFCreateVideoRendererActivate(HWND hwnd, IMFActivate **activate)
if (!activate)
return E_POINTER;
- hr = create_activation_object(hwnd, &evr_activate_funcs, activate);
+ hr = create_activation_object(NULL, &evr_activate_funcs, activate);
if (SUCCEEDED(hr))
IMFActivate_SetUINT64(*activate, &MF_ACTIVATE_VIDEO_WINDOW, (ULONG_PTR)hwnd);
More information about the wine-cvs
mailing list