mf/evr: Do not set user context for activator object.

Window handle is passed as an attribute.

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:46 +03:00 committed by Alexandre Julliard
parent 7e4ea871a3
commit 65d3383be9
1 changed files with 1 additions and 1 deletions

View File

@ -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);