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:
parent
a76a90e7d2
commit
1deea8e1fe
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue