[PATCH 2/3] evr/tests: Relax allocator initialization test.

Nikolay Sivov nsivov at codeweavers.com
Wed Nov 18 00:48:29 CST 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/evr/tests/evr.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/evr/tests/evr.c b/dlls/evr/tests/evr.c
index 18822e1e4fa..bebffada509 100644
--- a/dlls/evr/tests/evr.c
+++ b/dlls/evr/tests/evr.c
@@ -1384,10 +1384,10 @@ static void test_MFCreateVideoSampleAllocator(void)
     hr = MFCreateMediaType(&media_type);
     ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
 
-    /* It expects IMFVideoMediaType. */
+    /* It expects IMFVideoMediaType aka video major type. Exact return code is E_NOINTERFACE,
+       likely coming from querying for IMFVideoMediaType. Does not seem valuable to match it. */
     hr = IMFVideoSampleAllocator_InitializeSampleAllocator(allocator, 2, media_type);
-todo_wine
-    ok(hr == E_NOINTERFACE, "Unexpected hr %#x.\n", hr);
+    ok(FAILED(hr), "Unexpected hr %#x.\n", hr);
 
     video_type = create_video_type(&MFVideoFormat_RGB32);
 
-- 
2.29.2




More information about the wine-devel mailing list