[PATCH 4/7] mfplat/tests: Check for source and stream start messages.

Giovanni Mascellani gmascellani at codeweavers.com
Mon Sep 6 10:11:06 CDT 2021


Signed-off-by: Giovanni Mascellani <gmascellani at codeweavers.com>
---
This patch and the following are tests to justify the first three in
the series. Since they fail on Windows 7 (I investigated this issue
and came to the conclusion that it's a Windows 7 bug) and I was told
that it not a good idea to commit patches that depend too much on the
ins and outs of how events work on Windows, they are not meant to be
included in Wine. They're just there to help reviewers check that the
first three patches work sensibly.

 dlls/mfplat/tests/mfplat.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/mfplat/tests/mfplat.c b/dlls/mfplat/tests/mfplat.c
index 54af1ee151d..90440a10c62 100644
--- a/dlls/mfplat/tests/mfplat.c
+++ b/dlls/mfplat/tests/mfplat.c
@@ -872,6 +872,9 @@ todo_wine
         video_stream = (IMFMediaStream *)var.punkVal;
     }
 
+    get_event((IMFMediaEventGenerator *)mediasource, MESourceStarted, NULL);
+    get_event((IMFMediaEventGenerator *)video_stream, MEStreamStarted, NULL);
+
     sample_count = 10;
 
     for (i = 0; i < sample_count; ++i)
-- 
2.33.0




More information about the wine-devel mailing list