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
42c570f7
Commit
42c570f7
authored
Nov 21, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/tests: Attempt to fix test crashes on some test boxes.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
191a67d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
mf.c
dlls/mf/tests/mf.c
+10
-7
No files found.
dlls/mf/tests/mf.c
View file @
42c570f7
...
...
@@ -4498,15 +4498,18 @@ todo_wine {
hr
=
IMFMediaSink_AddStreamSink
(
sink
,
1
,
NULL
,
&
stream_sink2
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
hr
=
MFGetService
((
IUnknown
*
)
stream_sink2
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IMFVideoSampleAllocator
,
(
void
**
)
&
allocator
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
IMFVideoSampleAllocator_Release
(
allocator
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
MFGetService
((
IUnknown
*
)
stream_sink2
,
&
MR_VIDEO_ACCELERATION_SERVICE
,
&
IID_IMFVideoSampleAllocator
,
(
void
**
)
&
allocator
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
IMFVideoSampleAllocator_Release
(
allocator
);
hr
=
IMFMediaSink_RemoveStreamSink
(
sink
,
1
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
hr
=
IMFMediaSink_RemoveStreamSink
(
sink
,
1
);
ok
(
hr
==
S_OK
,
"Unexpected hr %#x.
\n
"
,
hr
);
IMFStreamSink_Release
(
stream_sink2
);
IMFStreamSink_Release
(
stream_sink2
);
}
hr
=
IMFMediaSink_GetCharacteristics
(
sink
,
&
flags
);
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