qcap/tests: Avoid test failures in test_seeking().

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gijs Vermeulen 2020-07-20 18:19:46 +02:00 committed by Alexandre Julliard
parent af50b499cb
commit 5df591fe01
1 changed files with 4 additions and 2 deletions

View File

@ -784,11 +784,13 @@ static void test_seeking(void)
hr = IMediaSeeking_GetDuration(seeking, &time);
todo_wine ok(hr == S_OK, "Got hr %#x.\n", hr);
todo_wine ok(!time, "Got duration %s.\n", wine_dbgstr_longlong(time));
if (hr == S_OK)
ok(!time, "Got duration %s.\n", wine_dbgstr_longlong(time));
hr = IMediaSeeking_GetCurrentPosition(seeking, &time);
todo_wine ok(hr == S_OK, "Got hr %#x.\n", hr);
todo_wine ok(!time, "Got duration %s.\n", wine_dbgstr_longlong(time));
if (hr == S_OK)
ok(!time, "Got duration %s.\n", wine_dbgstr_longlong(time));
hr = IMediaSeeking_GetStopPosition(seeking, &time);
ok(hr == E_NOTIMPL, "Got hr %#x.\n", hr);