Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
69e777c8
Commit
69e777c8
authored
Oct 02, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/presenter: Expose IMFVideoDisplayControl as a service.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
164c3b7f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
presenter.c
dlls/evr/presenter.c
+11
-0
evr.c
dlls/evr/tests/evr.c
+1
-3
No files found.
dlls/evr/presenter.c
View file @
69e777c8
...
...
@@ -618,6 +618,17 @@ static HRESULT WINAPI video_presenter_getservice_GetService(IMFGetService *iface
if
(
IsEqualGUID
(
&
MR_VIDEO_ACCELERATION_SERVICE
,
service
))
return
IDirect3DDeviceManager9_QueryInterface
(
presenter
->
device_manager
,
riid
,
obj
);
if
(
IsEqualGUID
(
&
MR_VIDEO_RENDER_SERVICE
,
service
))
{
if
(
IsEqualIID
(
riid
,
&
IID_IMFVideoDisplayControl
))
return
IMFVideoPresenter_QueryInterface
(
&
presenter
->
IMFVideoPresenter_iface
,
riid
,
obj
);
else
{
FIXME
(
"Unsupported interface %s.
\n
"
,
debugstr_guid
(
riid
));
return
E_NOTIMPL
;
}
}
FIXME
(
"Unimplemented service %s.
\n
"
,
debugstr_guid
(
service
));
return
E_NOTIMPL
;
...
...
dlls/evr/tests/evr.c
View file @
69e777c8
...
...
@@ -1015,10 +1015,8 @@ static void test_default_presenter(void)
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
hr
=
IMFGetService_GetService
(
gs
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoDisplayControl
,
(
void
**
)
&
display_control
);
todo_wine
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
IMFVideoDisplayControl_Release
(
display_control
);
IMFVideoDisplayControl_Release
(
display_control
);
hr
=
IMFGetService_GetService
(
gs
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IDirect3DDeviceManager9
,
(
void
**
)
&
dm
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
...
...
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