quartz/vmr9: Rename hWndClippingWindow to clipping_window.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6502ac993d
commit
93913d3a44
|
@ -100,8 +100,7 @@ struct quartz_vmr
|
||||||
DWORD cur_surface;
|
DWORD cur_surface;
|
||||||
DWORD_PTR cookie;
|
DWORD_PTR cookie;
|
||||||
|
|
||||||
/* for Windowless Mode */
|
HWND clipping_window;
|
||||||
HWND hWndClippingWindow;
|
|
||||||
|
|
||||||
LONG VideoWidth;
|
LONG VideoWidth;
|
||||||
LONG VideoHeight;
|
LONG VideoHeight;
|
||||||
|
@ -402,9 +401,9 @@ static HRESULT allocate_surfaces(struct quartz_vmr *filter, const AM_MEDIA_TYPE
|
||||||
};
|
};
|
||||||
|
|
||||||
TRACE("Initializing in mode %u, our window %p, clipping window %p.\n",
|
TRACE("Initializing in mode %u, our window %p, clipping window %p.\n",
|
||||||
filter->mode, filter->window.hwnd, filter->hWndClippingWindow);
|
filter->mode, filter->window.hwnd, filter->clipping_window);
|
||||||
|
|
||||||
if (filter->mode == VMR9Mode_Windowless && !filter->hWndClippingWindow)
|
if (filter->mode == VMR9Mode_Windowless && !filter->clipping_window)
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
||||||
info.Pool = D3DPOOL_DEFAULT;
|
info.Pool = D3DPOOL_DEFAULT;
|
||||||
|
@ -1727,7 +1726,7 @@ static HRESULT WINAPI VMR9WindowlessControl_SetVideoClippingWindow(IVMRWindowles
|
||||||
return VFW_E_WRONG_STATE;
|
return VFW_E_WRONG_STATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
filter->hWndClippingWindow = window;
|
filter->clipping_window = window;
|
||||||
|
|
||||||
LeaveCriticalSection(&filter->renderer.filter.csFilter);
|
LeaveCriticalSection(&filter->renderer.filter.csFilter);
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
@ -1741,7 +1740,7 @@ static HRESULT WINAPI VMR9WindowlessControl_RepaintVideo(IVMRWindowlessControl9
|
||||||
FIXME("(%p/%p)->(...) semi-stub\n", iface, This);
|
FIXME("(%p/%p)->(...) semi-stub\n", iface, This);
|
||||||
|
|
||||||
EnterCriticalSection(&This->renderer.filter.csFilter);
|
EnterCriticalSection(&This->renderer.filter.csFilter);
|
||||||
if (hwnd != This->hWndClippingWindow && hwnd != This->window.hwnd)
|
if (hwnd != This->clipping_window && hwnd != This->window.hwnd)
|
||||||
{
|
{
|
||||||
ERR("Not handling changing windows yet!!!\n");
|
ERR("Not handling changing windows yet!!!\n");
|
||||||
LeaveCriticalSection(&This->renderer.filter.csFilter);
|
LeaveCriticalSection(&This->renderer.filter.csFilter);
|
||||||
|
|
Loading…
Reference in New Issue