Commit 730b30aa authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

mfplat/tests: Fix an event queue refcounting test on Vista.

parent 771abe5a
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment