mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 18:53:38 +00:00
amstream/tests: Actually test the return of IMediaFilter_SetSyncSource.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
afa1e60b27
commit
9a1e0edf65
|
@ -5055,7 +5055,7 @@ static void test_audiostreamsample_get_sample_times(void)
|
||||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||||
ok(current_time == 0, "Got current time %s.\n", wine_dbgstr_longlong(current_time));
|
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);
|
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||||
|
|
||||||
current_time = 0xdeadbeefdeadbeef;
|
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(hr == S_OK, "Got hr %#x.\n", hr);
|
||||||
ok(current_time == 0, "Got current time %s.\n", wine_dbgstr_longlong(current_time));
|
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);
|
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||||
|
|
||||||
current_time = 0xdeadbeefdeadbeef;
|
current_time = 0xdeadbeefdeadbeef;
|
||||||
|
|
Loading…
Reference in a new issue