strmbase: IVideoWindow::get_AutoShow() returns OATRUE, not TRUE.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
89d9bcb1f1
commit
7272891efb
|
@ -1928,7 +1928,7 @@ static void test_video_window_autoshow(IVideoWindow *window, IFilterGraph2 *grap
|
|||
|
||||
hr = IVideoWindow_get_AutoShow(window, &l);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
todo_wine ok(l == OATRUE, "Got %d.\n", l);
|
||||
ok(l == OATRUE, "Got %d.\n", l);
|
||||
|
||||
hr = IVideoWindow_put_Visible(window, OAFALSE);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
|
|
|
@ -203,7 +203,7 @@ HRESULT WINAPI BaseControlWindow_Init(BaseControlWindow *pControlWindow,
|
|||
if (SUCCEEDED(hr))
|
||||
{
|
||||
pControlWindow->IVideoWindow_iface.lpVtbl = lpVtbl;
|
||||
pControlWindow->AutoShow = TRUE;
|
||||
pControlWindow->AutoShow = OATRUE;
|
||||
pControlWindow->hwndDrain = NULL;
|
||||
pControlWindow->hwndOwner = NULL;
|
||||
pControlWindow->pFilter = owner;
|
||||
|
|
Loading…
Reference in New Issue