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
26aae271
Commit
26aae271
authored
Nov 16, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/presenter: Expose all interfaces for MR_VIDEO_RENDER_SERVICE.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c7ce8d5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
14 deletions
+9
-14
presenter.c
dlls/evr/presenter.c
+1
-12
evr.c
dlls/evr/tests/evr.c
+8
-2
No files found.
dlls/evr/presenter.c
View file @
26aae271
...
...
@@ -1254,18 +1254,7 @@ static HRESULT WINAPI video_presenter_getservice_GetService(IMFGetService *iface
return
IDirect3DDeviceManager9_QueryInterface
(
presenter
->
device_manager
,
riid
,
obj
);
if
(
IsEqualGUID
(
&
MR_VIDEO_RENDER_SERVICE
,
service
))
{
if
(
IsEqualIID
(
riid
,
&
IID_IMFVideoDisplayControl
)
||
IsEqualIID
(
riid
,
&
IID_IMFVideoPositionMapper
))
{
return
IMFVideoPresenter_QueryInterface
(
&
presenter
->
IMFVideoPresenter_iface
,
riid
,
obj
);
}
else
{
FIXME
(
"Unsupported interface %s.
\n
"
,
debugstr_guid
(
riid
));
return
E_NOTIMPL
;
}
}
return
IMFVideoPresenter_QueryInterface
(
&
presenter
->
IMFVideoPresenter_iface
,
riid
,
obj
);
FIXME
(
"Unimplemented service %s.
\n
"
,
debugstr_guid
(
service
));
...
...
dlls/evr/tests/evr.c
View file @
26aae271
...
...
@@ -1150,8 +1150,14 @@ static void test_default_presenter(void)
check_interface
(
presenter
,
&
IID_IMFQualityAdvise
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoPositionMapper
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoDisplayControl
,
TRUE
);
todo_wine
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoPresenter
,
TRUE
);
todo_wine
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFClockStateSink
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoPresenter
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFClockStateSink
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFTopologyServiceLookupClient
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IQualProp
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFRateSupport
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFGetService
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoDeviceID
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFQualityAdvise
,
TRUE
);
check_service_interface
(
presenter
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IDirect3DDeviceManager9
,
TRUE
);
hr
=
IMFVideoPresenter_QueryInterface
(
presenter
,
&
IID_IMFVideoDeviceID
,
(
void
**
)
&
deviceid
);
...
...
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