Commit 3893db0a authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

mfmediaengine/tests: Fix a test failure in test_GetDuration().

d19af88f happens to change test_transfer_notify_EventNotify() and that affects test_GetDuration(). Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55422
parent 7f4225e3
......@@ -1957,7 +1957,7 @@ static void test_GetDuration(void)
url = SysAllocString(L"i420-64x64.avi");
hr = IMFMediaEngineEx_SetSourceFromByteStream(media_engine, stream, url);
ok(hr == S_OK, "Unexpected hr %#lx.\n", hr);
res = WaitForSingleObject(notify->ready_event, 5000);
res = WaitForSingleObject(notify->frame_ready_event, 5000);
ok(!res, "Unexpected res %#lx.\n", res);
duration = IMFMediaEngineEx_GetDuration(media_engine);
......
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