From: Giovanni Mascellani Subject: [PATCH 4/7] mfplat/tests: Check for source and stream start messages. Message-Id: <20210906151109.225515-4-gmascellani@codeweavers.com> Date: Mon, 6 Sep 2021 17:11:06 +0200 In-Reply-To: <20210906151109.225515-1-gmascellani@codeweavers.com> References: <20210906151109.225515-1-gmascellani@codeweavers.com> Signed-off-by: Giovanni Mascellani --- 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