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

d19af88f59 happens to change test_transfer_notify_EventNotify() and
that affects test_GetDuration().

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55422
This commit is contained in:
Zhiyi Zhang 2023-08-09 11:38:59 +08:00 committed by Alexandre Julliard
parent 7f4225e3b0
commit 3893db0a20

View file

@ -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);