mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:30:50 +00:00
dxva2: Remove AYUV from accepted input formats.
It was added for completeness only, and it appears to be not universally support on Windows via regular d3d9 API. DXVA might be using different path to present video frames, but we don't make such distinction at the moment. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f0cd5c5c3c
commit
2095a4132f
|
@ -381,8 +381,7 @@ static BOOL dxva_is_supported_stream_format(const DXVA2_VideoDesc *video_desc)
|
|||
{
|
||||
return video_desc->Format == D3DFMT_A8R8G8B8 ||
|
||||
video_desc->Format == D3DFMT_X8R8G8B8 ||
|
||||
video_desc->Format == D3DFMT_YUY2 ||
|
||||
video_desc->Format == MAKEFOURCC('A','Y','U','V');
|
||||
video_desc->Format == D3DFMT_YUY2;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI device_manager_processor_service_GetVideoProcessorDeviceGuids(
|
||||
|
|
|
@ -356,7 +356,9 @@ static void test_device_manager(void)
|
|||
|
||||
count = 0;
|
||||
hr = IDirectXVideoProcessorService_GetVideoProcessorDeviceGuids(proc_service, &video_desc, &count, &guids);
|
||||
todo_wine_if(rt_formats[i] == MAKEFOURCC('A','Y','U','V'))
|
||||
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
|
||||
if (FAILED(hr)) continue;
|
||||
ok(count > 0, "Unexpected device count.\n");
|
||||
CoTaskMemFree(guids);
|
||||
|
||||
|
|
Loading…
Reference in a new issue