Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
d3b9ff2e
Commit
d3b9ff2e
authored
Aug 02, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/tests: Add some tests for EVR stream services.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cfb0d152
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
mf.c
dlls/mf/tests/mf.c
+10
-1
No files found.
dlls/mf/tests/mf.c
View file @
d3b9ff2e
...
...
@@ -4273,6 +4273,7 @@ static void test_evr(void)
check_service_interface
(
sink
,
&
MR_VIDEO_MIXER_SERVICE
,
&
IID_IMFVideoMixerControl2
,
TRUE
);
check_service_interface
(
sink
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoDisplayControl
,
TRUE
);
check_service_interface
(
sink
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoPositionMapper
,
TRUE
);
check_service_interface
(
sink
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IMFVideoSampleAllocator
,
FALSE
);
check_service_interface
(
sink
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IDirect3DDeviceManager9
,
TRUE
);
check_service_interface
(
sink
,
&
MF_RATE_CONTROL_SERVICE
,
&
IID_IMFRateSupport
,
TRUE
);
...
...
@@ -4423,7 +4424,15 @@ static void test_evr(void)
/* Stream uses an allocator. */
check_service_interface
(
stream_sink
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IMFVideoSampleAllocator
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IDirect3DDeviceManager9
,
TRUE
);
todo_wine
{
check_service_interface
(
stream_sink
,
&
MR_VIDEO_MIXER_SERVICE
,
&
IID_IMFVideoProcessor
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MR_VIDEO_MIXER_SERVICE
,
&
IID_IMFVideoMixerBitmap
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MR_VIDEO_MIXER_SERVICE
,
&
IID_IMFVideoMixerControl
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MR_VIDEO_MIXER_SERVICE
,
&
IID_IMFVideoMixerControl2
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoDisplayControl
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoPositionMapper
,
TRUE
);
check_service_interface
(
stream_sink
,
&
MF_RATE_CONTROL_SERVICE
,
&
IID_IMFRateSupport
,
TRUE
);
}
hr
=
MFGetService
((
IUnknown
*
)
stream_sink
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IMFVideoSampleAllocator
,
(
void
**
)
&
allocator
);
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