mfplat/tests: Fix an event queue refcounting test on Vista.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
771abe5a03
commit
730b30aacf
|
@ -3129,7 +3129,9 @@ static void test_event_queue(void)
|
|||
EXPECT_REF(&callback.IMFAsyncCallback_iface, 2);
|
||||
|
||||
IMFMediaEventQueue_Release(queue);
|
||||
EXPECT_REF(&callback.IMFAsyncCallback_iface, 1);
|
||||
ret = get_refcount(&callback.IMFAsyncCallback_iface);
|
||||
ok(ret == 1 || broken(ret == 2) /* Vista */,
|
||||
"Unexpected refcount %d, expected 1.\n", ret);
|
||||
|
||||
hr = MFShutdown();
|
||||
ok(hr == S_OK, "Failed to shut down, hr %#x.\n", hr);
|
||||
|
|
Loading…
Reference in New Issue