Commit 9a1e0edf authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

amstream/tests: Actually test the return of IMediaFilter_SetSyncSource.

parent afa1e60b
......@@ -5055,7 +5055,7 @@ static void test_audiostreamsample_get_sample_times(void)
ok(hr == S_OK, "Got hr %#x.\n", hr);
ok(current_time == 0, "Got current time %s.\n", wine_dbgstr_longlong(current_time));
IMediaFilter_SetSyncSource(graph_media_filter, &clock.IReferenceClock_iface);
hr = IMediaFilter_SetSyncSource(graph_media_filter, &clock.IReferenceClock_iface);
ok(hr == S_OK, "Got hr %#x.\n", hr);
current_time = 0xdeadbeefdeadbeef;
......@@ -9338,7 +9338,7 @@ static void test_ddrawstreamsample_get_sample_times(void)
ok(hr == S_OK, "Got hr %#x.\n", hr);
ok(current_time == 0, "Got current time %s.\n", wine_dbgstr_longlong(current_time));
IMediaFilter_SetSyncSource(graph_media_filter, &clock.IReferenceClock_iface);
hr = IMediaFilter_SetSyncSource(graph_media_filter, &clock.IReferenceClock_iface);
ok(hr == S_OK, "Got hr %#x.\n", hr);
current_time = 0xdeadbeefdeadbeef;
......
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