[PATCH 1/7] mf/evr: Do not set user context for activator object.
Nikolay Sivov
nsivov at codeweavers.com
Thu Jul 9 07:08:46 CDT 2020
Window handle is passed as an attribute.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 d20fb1a395d..b35af55353d 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);
--
2.27.0
More information about the wine-devel
mailing list