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
085891b8
Commit
085891b8
authored
Mar 26, 2014
by
Piotr Caban
Committed by
Alexandre Julliard
Mar 26, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/tests: Fix AviMux test failures on Win2k.
parent
6ac11c60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
qcap.c
dlls/qcap/tests/qcap.c
+8
-6
No files found.
dlls/qcap/tests/qcap.c
View file @
085891b8
...
...
@@ -1779,11 +1779,13 @@ static void test_AviMux(char *arg)
props
.
cbAlign
=
0xdeadbee3
;
props
.
cbPrefix
=
0xdeadbee4
;
hr
=
IMemInputPin_GetAllocatorRequirements
(
memin
,
&
props
);
ok
(
hr
==
S_OK
,
"GetAllocatorRequirments returned %x
\n
"
,
hr
);
ok
(
props
.
cBuffers
==
0xdeadbee1
,
"cBuffers = %d
\n
"
,
props
.
cBuffers
);
ok
(
props
.
cbBuffer
==
0xdeadbee2
,
"cbBuffer = %d
\n
"
,
props
.
cbBuffer
);
ok
(
props
.
cbAlign
==
1
,
"cbAlign = %d
\n
"
,
props
.
cbAlign
);
ok
(
props
.
cbPrefix
==
8
,
"cbPrefix = %d
\n
"
,
props
.
cbPrefix
);
ok
(
hr
==
S_OK
||
broken
(
hr
==
E_INVALIDARG
),
"GetAllocatorRequirments returned %x
\n
"
,
hr
);
if
(
hr
==
S_OK
)
{
ok
(
props
.
cBuffers
==
0xdeadbee1
,
"cBuffers = %d
\n
"
,
props
.
cBuffers
);
ok
(
props
.
cbBuffer
==
0xdeadbee2
,
"cbBuffer = %d
\n
"
,
props
.
cbBuffer
);
ok
(
props
.
cbAlign
==
1
,
"cbAlign = %d
\n
"
,
props
.
cbAlign
);
ok
(
props
.
cbPrefix
==
8
,
"cbPrefix = %d
\n
"
,
props
.
cbPrefix
);
}
hr
=
IMemInputPin_GetAllocator
(
memin
,
&
memalloc
);
ok
(
hr
==
S_OK
,
"GetAllocator returned %x
\n
"
,
hr
);
...
...
@@ -1830,7 +1832,6 @@ static void test_AviMux(char *arg)
hr
=
IBaseFilter_Run
(
avimux
,
0
);
ok
(
hr
==
S_OK
,
"Run returned %x
\n
"
,
hr
);
CHECK_CALLED
(
MediaSeeking_GetPositions
);
CHECK_CALLED
(
MemInputPin_QueryInterface_IStream
);
hr
=
IBaseFilter_GetState
(
avimux
,
0
,
&
state
);
ok
(
hr
==
S_OK
,
"GetState returned %x
\n
"
,
hr
);
...
...
@@ -1911,6 +1912,7 @@ static void test_AviMux(char *arg)
hr
=
IBaseFilter_Stop
(
avimux
);
ok
(
hr
==
S_OK
,
"Stop returned %x
\n
"
,
hr
);
CHECK_CALLED
(
MemInputPin_QueryInterface_IStream
);
hr
=
IBaseFilter_GetState
(
avimux
,
0
,
&
state
);
ok
(
hr
==
S_OK
,
"GetState returned %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