1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

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: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2017-10-17 23:28:57 -06:00 committed by Alexandre Julliard
parent 7b99fe6f09
commit 126e3e280e

View File

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