Nikolay Sivov : evr/tests: Relax allocator initialization test.
Alexandre Julliard
julliard at winehq.org
Wed Nov 18 15:48:00 CST 2020
Module: wine
Branch: master
Commit: 1deea8e1fe4e5e4b6073298d394b24e2bbfd6dca
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1deea8e1fe4e5e4b6073298d394b24e2bbfd6dca
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Nov 18 09:48:29 2020 +0300
evr/tests: Relax allocator initialization test.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
More information about the wine-cvs
mailing list