Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
88f47823
Commit
88f47823
authored
Sep 17, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Sep 17, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxva2: Return single software device for GetVideoProcessorDeviceGuids().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
574fd3d3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Makefile.in
dlls/dxva2/Makefile.in
+1
-1
main.c
dlls/dxva2/main.c
+8
-2
No files found.
dlls/dxva2/Makefile.in
View file @
88f47823
MODULE
=
dxva2.dll
MODULE
=
dxva2.dll
IMPORTS
=
uuid
IMPORTS
=
uuid
ole32
IMPORTLIB
=
dxva2
IMPORTLIB
=
dxva2
EXTRADLLFLAGS
=
-mno-cygwin
EXTRADLLFLAGS
=
-mno-cygwin
...
...
dlls/dxva2/main.c
View file @
88f47823
...
@@ -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
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment