From: Alex Henrie alexhenrie24@gmail.com
This test failed on Linux 2 out of the last 67 times on test.winehq.org because IMediaControl_GetState returned VFW_S_STATE_INTERMEDIATE, evidently meaning that the command to pause had been received but not yet carried out. Give it two seconds to complete instead of one to ensure that it finishes. --- dlls/quartz/tests/filtergraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c index df1f02cfd00..7ea984f1d6a 100644 --- a/dlls/quartz/tests/filtergraph.c +++ b/dlls/quartz/tests/filtergraph.c @@ -531,7 +531,7 @@ static void test_media_event(IFilterGraph2 *graph)
hr = IMediaControl_Pause(control); ok(SUCCEEDED(hr), "Got hr %#lx.\n", hr); - hr = IMediaControl_GetState(control, 1000, &state); + hr = IMediaControl_GetState(control, 2000, &state); ok(hr == S_OK, "Got hr %#lx.\n", hr); ok(state == State_Paused, "Got state %ld.\n", state);