Zebediah Figura : quartz/tests: Enable no longer failing tests for IBasicVideo::GetCurrentImage().
Alexandre Julliard
julliard at winehq.org
Wed Nov 18 15:48:00 CST 2020
Module: wine
Branch: master
Commit: c00c6000bc221ffa43f14987807dfa4548044177
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c00c6000bc221ffa43f14987807dfa4548044177
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Tue Nov 17 16:30:58 2020 -0600
quartz/tests: Enable no longer failing tests for IBasicVideo::GetCurrentImage().
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/quartz/tests/vmr7.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/dlls/quartz/tests/vmr7.c b/dlls/quartz/tests/vmr7.c
index 1101a98ab7d..0a72cbb9b74 100644
--- a/dlls/quartz/tests/vmr7.c
+++ b/dlls/quartz/tests/vmr7.c
@@ -1300,11 +1300,8 @@ static void test_current_image(IBaseFilter *filter, IMemInputPin *input,
ok(hr == S_OK, "Got hr %#x.\n", hr);
ok(size == sizeof(buffer), "Got size %d.\n", size);
ok(!memcmp(bih, &expect_bih, sizeof(BITMAPINFOHEADER)), "Bitmap headers didn't match.\n");
- if (0) /* FIXME: Rendering is currently broken on Wine. */
- {
- for (i = 0; i < 32 * 16; ++i)
- ok((data[i] & 0xffffff) == 0x555555, "Got unexpected color %08x at %u.\n", data[i], i);
- }
+ for (i = 0; i < 32 * 16; ++i)
+ ok((data[i] & 0xffffff) == 0x555555, "Got unexpected color %08x at %u.\n", data[i], i);
hr = IMediaControl_Run(control);
ok(hr == S_OK, "Got hr %#x.\n", hr);
@@ -1316,11 +1313,8 @@ static void test_current_image(IBaseFilter *filter, IMemInputPin *input,
ok(hr == S_OK, "Got hr %#x.\n", hr);
ok(size == sizeof(buffer), "Got size %d.\n", size);
ok(!memcmp(bih, &expect_bih, sizeof(BITMAPINFOHEADER)), "Bitmap headers didn't match.\n");
- if (0) /* FIXME: Rendering is currently broken on Wine. */
- {
- for (i = 0; i < 32 * 16; ++i)
- ok((data[i] & 0xffffff) == 0x555555, "Got unexpected color %08x at %u.\n", data[i], i);
- }
+ for (i = 0; i < 32 * 16; ++i)
+ ok((data[i] & 0xffffff) == 0x555555, "Got unexpected color %08x at %u.\n", data[i], i);
hr = IMediaControl_Stop(control);
ok(hr == S_OK, "Got hr %#x.\n", hr);
More information about the wine-cvs
mailing list