Zebediah Figura : qasf/tests: Fix a test failure with Windows 2003.

Alexandre Julliard julliard at winehq.org
Mon Mar 23 15:47:08 CDT 2020


Module: wine
Branch: master
Commit: a336ae8fbbf19780485c12b3383ac6083c8ca9b0
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=a336ae8fbbf19780485c12b3383ac6083c8ca9b0

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sat Mar 21 16:35:19 2020 -0500

qasf/tests: Fix a test failure with Windows 2003.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/qasf/tests/dmowrapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/qasf/tests/dmowrapper.c b/dlls/qasf/tests/dmowrapper.c
index 50546ec2a8..6f6cb77e52 100644
--- a/dlls/qasf/tests/dmowrapper.c
+++ b/dlls/qasf/tests/dmowrapper.c
@@ -1707,7 +1707,7 @@ static void test_streaming_events(IMediaControl *control, IPin *sink, IMemInputP
     todo_wine ok(testsink2->got_eos == 1, "Got %u calls to IPin::EndOfStream().\n", testsink2->got_eos);
 
     hr = IMemInputPin_Receive(input, sample);
-    todo_wine ok(hr == VFW_E_SAMPLE_REJECTED_EOS, "Got hr %#x.\n", hr);
+    todo_wine ok(hr == S_FALSE /* 2003 */ || hr == VFW_E_SAMPLE_REJECTED_EOS, "Got hr %#x.\n", hr);
 
     got_Flush = 0;
     ok(!testsink->got_begin_flush, "Got %u calls to IPin::BeginFlush().\n", testsink->got_begin_flush);




More information about the wine-cvs mailing list