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
acd79650
Commit
acd79650
authored
Oct 22, 2015
by
Bruno Jesus
Committed by
Alexandre Julliard
Oct 22, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvfw32/tests: Check if requesting the default codec works.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
665f308f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
msvfw.c
dlls/msvfw32/tests/msvfw.c
+23
-0
No files found.
dlls/msvfw32/tests/msvfw.c
View file @
acd79650
...
...
@@ -28,6 +28,29 @@
static
void
test_OpenCase
(
void
)
{
HIC
h
;
ICINFO
info
;
/* Check if default handler works */
h
=
ICOpen
(
mmioFOURCC
(
'v'
,
'i'
,
'd'
,
'c'
),
0
,
ICMODE_DECOMPRESS
);
todo_wine
ok
(
0
!=
h
,
"ICOpen(vidc.0) failed
\n
"
);
if
(
h
)
{
info
.
dwSize
=
sizeof
(
info
);
info
.
szName
[
0
]
=
0
;
ICGetInfo
(
h
,
&
info
,
sizeof
(
info
));
trace
(
"The default decompressor is %s
\n
"
,
wine_dbgstr_w
(
info
.
szName
));
ok
(
ICClose
(
h
)
==
ICERR_OK
,
"ICClose failed
\n
"
);
}
h
=
ICOpen
(
mmioFOURCC
(
'v'
,
'i'
,
'd'
,
'c'
),
0
,
ICMODE_COMPRESS
);
todo_wine
ok
(
0
!=
h
||
broken
(
h
==
0
),
"ICOpen(vidc.0) failed
\n
"
);
/* Not present in Win8 */
if
(
h
)
{
info
.
dwSize
=
sizeof
(
info
);
info
.
szName
[
0
]
=
0
;
ICGetInfo
(
h
,
&
info
,
sizeof
(
info
));
trace
(
"The default compressor is %s
\n
"
,
wine_dbgstr_w
(
info
.
szName
));
ok
(
ICClose
(
h
)
==
ICERR_OK
,
"ICClose failed
\n
"
);
}
/* Open a compressor with combinations of lowercase
* and uppercase compressortype and handler.
*/
...
...
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