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
9c4bcbea
Commit
9c4bcbea
authored
Dec 20, 2022
by
Ziqing Hui
Committed by
Alexandre Julliard
Dec 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/tests: Use one input type for GetOutputType tests.
parent
6353af03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
24 deletions
+5
-24
transform.c
dlls/mf/tests/transform.c
+5
-24
No files found.
dlls/mf/tests/transform.c
View file @
9c4bcbea
...
...
@@ -4956,30 +4956,11 @@ static void test_wmv_decoder_media_object(void)
ok
(
hr
==
DMO_E_TYPE_NOT_SET
,
"GetOutputType returned %#lx.
\n
"
,
hr
);
/* Test GetOutputType after setting input type. */
for
(
i
=
0
;
i
<
ARRAY_SIZE
(
expected_input_types
);
++
i
)
{
const
GUID
*
subtype
=
&
expected_input_types
[
i
].
subtype
;
if
(
IsEqualGUID
(
subtype
,
&
MEDIASUBTYPE_WMV2
)
||
IsEqualGUID
(
subtype
,
&
MEDIASUBTYPE_WMVA
)
||
IsEqualGUID
(
subtype
,
&
MEDIASUBTYPE_WVP2
)
||
IsEqualGUID
(
subtype
,
&
MEDIASUBTYPE_WVC1
)
||
IsEqualGUID
(
subtype
,
&
MFVideoFormat_VC1S
))
{
skip
(
"Skipping GetOutputType tests for input subtype %s.
\n
"
,
debugstr_guid
(
subtype
));
continue
;
}
winetest_push_context
(
"in %lu"
,
i
);
init_dmo_media_type_video
(
input_type
,
&
expected_input_types
[
i
].
subtype
,
16
,
16
);
hr
=
IMediaObject_SetInputType
(
media_object
,
0
,
input_type
,
0
);
ok
(
hr
==
S_OK
,
"SetInputType returned %#lx.
\n
"
,
hr
);
todo_wine
check_dmo_get_output_type
(
media_object
,
expected_output_types
,
ARRAY_SIZE
(
expected_output_types
));
winetest_pop_context
();
}
init_dmo_media_type_video
(
input_type
,
&
expected_input_types
[
0
].
subtype
,
16
,
16
);
hr
=
IMediaObject_SetInputType
(
media_object
,
0
,
input_type
,
0
);
ok
(
hr
==
S_OK
,
"SetInputType returned %#lx.
\n
"
,
hr
);
todo_wine
check_dmo_get_output_type
(
media_object
,
expected_output_types
,
ARRAY_SIZE
(
expected_output_types
));
ret
=
IMediaObject_Release
(
media_object
);
ok
(
ret
==
0
,
"Release returned %lu
\n
"
,
ret
);
...
...
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