evr/tests: Relax allocator initialization test.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-11-18 09:48:29 +03:00 committed by Alexandre Julliard
parent a76a90e7d2
commit 1deea8e1fe
1 changed files with 3 additions and 3 deletions

View File

@ -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);