Skip to content
Snippets Groups Projects
Commit 1829c196 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

dxva2/tests: Add a test for GetVideoProcessorDeviceGuids().

parent b8e003c0
No related branches found
No related tags found
No related merge requests found
......@@ -92,6 +92,7 @@ static void test_device_manager(void)
UINT token, count;
IDirect3D9 *d3d;
HWND window;
GUID *guids;
HRESULT hr;
RECT rect;
......@@ -309,6 +310,11 @@ static void test_device_manager(void)
video_desc.SampleHeight = 64;
video_desc.Format = D3DFMT_A8R8G8B8;
hr = IDirectXVideoProcessorService_GetVideoProcessorDeviceGuids(proc_service, &video_desc, &count, &guids);
ok(hr == S_OK, "Unexpected hr %#x.\n", hr);
ok(count, "Unexpected format count %u.\n", count);
CoTaskMemFree(guids);
count = 0;
hr = IDirectXVideoProcessorService_GetVideoProcessorRenderTargets(proc_service, &DXVA2_VideoProcSoftwareDevice,
&video_desc, &count, &formats);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment