Commit 1deea8e1 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

evr/tests: Relax allocator initialization test.

parent a76a90e7
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment