Commit 88f47823 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dxva2: Return single software device for GetVideoProcessorDeviceGuids().

parent 574fd3d3
MODULE = dxva2.dll MODULE = dxva2.dll
IMPORTS = uuid IMPORTS = uuid ole32
IMPORTLIB = dxva2 IMPORTLIB = dxva2
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin
......
...@@ -180,9 +180,15 @@ static HRESULT WINAPI device_manager_processor_service_RegisterVideoProcessorSof ...@@ -180,9 +180,15 @@ static HRESULT WINAPI device_manager_processor_service_RegisterVideoProcessorSof
static HRESULT WINAPI device_manager_processor_service_GetVideoProcessorDeviceGuids( static HRESULT WINAPI device_manager_processor_service_GetVideoProcessorDeviceGuids(
IDirectXVideoProcessorService *iface, const DXVA2_VideoDesc *video_desc, UINT *count, GUID **guids) IDirectXVideoProcessorService *iface, const DXVA2_VideoDesc *video_desc, UINT *count, GUID **guids)
{ {
FIXME("%p, %p, %p, %p.\n", iface, video_desc, count, guids); FIXME("%p, %p, %p, %p semi-stub.\n", iface, video_desc, count, guids);
return E_NOTIMPL; if (!(*guids = CoTaskMemAlloc(sizeof(**guids))))
return E_OUTOFMEMORY;
memcpy(*guids, &DXVA2_VideoProcSoftwareDevice, sizeof(**guids));
*count = 1;
return S_OK;
} }
static HRESULT WINAPI device_manager_processor_service_GetVideoProcessorRenderTargets( static HRESULT WINAPI device_manager_processor_service_GetVideoProcessorRenderTargets(
......
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