Commit 126e3e28 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

quartz/tests: Fix test failures on Windows XP without upgraded DirectX.

As far as I can tell, MP3 decoding in DirectShow requires DirectX 9 or later. Signed-off-by: 's avatarAlex Henrie <alexhenrie24@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 7b99fe6f
......@@ -392,8 +392,9 @@ static DWORD WINAPI call_RenderFile_multithread(LPVOID lParam)
CloseHandle(handle);
hr = IFilterGraph2_RenderFile(filter_graph, mp3file, NULL);
todo_wine ok(hr == VFW_E_CANNOT_RENDER || /* xp or older */
hr == VFW_E_NO_TRANSPORT, /* win7 or newer */
todo_wine ok(hr == VFW_E_CANNOT_RENDER || /* xp or older + DirectX 9 */
hr == VFW_E_NO_TRANSPORT || /* win7 or newer */
broken(hr == CLASS_E_CLASSNOTAVAILABLE), /* xp or older + DirectX 8 or older */
"Expected 0x%08x or 0x%08x, returned 0x%08x\n", VFW_E_CANNOT_RENDER, VFW_E_NO_TRANSPORT, hr);
DeleteFileW(mp3file);
......
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