Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
190fb605
Commit
190fb605
authored
Nov 22, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Fix some tests on w7u.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
239a6392
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
vmr7.c
dlls/quartz/tests/vmr7.c
+6
-2
No files found.
dlls/quartz/tests/vmr7.c
View file @
190fb605
...
...
@@ -1048,9 +1048,9 @@ static HANDLE send_frame(IMemInputPin *sink)
hr
=
IMediaSample_GetPointer
(
sample
,
&
data
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
memset
(
data
,
0x55
,
32
*
16
*
4
);
memset
(
data
,
0x55
,
IMediaSample_GetSize
(
sample
)
);
hr
=
IMediaSample_SetActualDataLength
(
sample
,
32
*
16
*
4
);
hr
=
IMediaSample_SetActualDataLength
(
sample
,
IMediaSample_GetSize
(
sample
)
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
start_time
=
0
;
...
...
@@ -1350,6 +1350,10 @@ static void test_connect_pin(void)
{
vih
.
bmiHeader
.
biBitCount
=
24
;
hr
=
IFilterGraph2_ConnectDirect
(
graph
,
&
source
.
source
.
pin
.
IPin_iface
,
pin
,
&
req_mt
);
/* w7u is also rather buggy with its allocator. Requesting a size of
* 32 * 16 * 4 succeeds and returns that size from SetProperties(), but
* the actual samples only have a size of 32 * 16 * 3. */
req_props
.
cbBuffer
=
32
*
16
*
3
;
}
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IFilterGraph2_Disconnect
(
graph
,
&
source
.
source
.
pin
.
IPin_iface
);
...
...
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