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:
parent
7e4ea871a3
commit
65d3383be9
|
@ -619,7 +619,7 @@ HRESULT WINAPI MFCreateVideoRendererActivate(HWND hwnd, IMFActivate **activate)
|
||||||
if (!activate)
|
if (!activate)
|
||||||
return E_POINTER;
|
return E_POINTER;
|
||||||
|
|
||||||
hr = create_activation_object(hwnd, &evr_activate_funcs, activate);
|
hr = create_activation_object(NULL, &evr_activate_funcs, activate);
|
||||||
if (SUCCEEDED(hr))
|
if (SUCCEEDED(hr))
|
||||||
IMFActivate_SetUINT64(*activate, &MF_ACTIVATE_VIDEO_WINDOW, (ULONG_PTR)hwnd);
|
IMFActivate_SetUINT64(*activate, &MF_ACTIVATE_VIDEO_WINDOW, (ULONG_PTR)hwnd);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue