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
693bdc63
Commit
693bdc63
authored
Apr 22, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf: Shutdown SAR sink on ShutdownObject().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f7bd8143
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
sar.c
dlls/mf/sar.c
+7
-1
mf.c
dlls/mf/tests/mf.c
+0
-1
No files found.
dlls/mf/sar.c
View file @
693bdc63
...
...
@@ -1569,7 +1569,13 @@ failed:
static
void
sar_shutdown_object
(
void
*
user_context
,
IUnknown
*
obj
)
{
/* FIXME: shut down sink */
IMFMediaSink
*
sink
;
if
(
SUCCEEDED
(
IUnknown_QueryInterface
(
obj
,
&
IID_IMFMediaSink
,
(
void
**
)
&
sink
)))
{
IMFMediaSink_Shutdown
(
sink
);
IMFMediaSink_Release
(
sink
);
}
}
static
void
sar_free_private
(
void
*
user_context
)
...
...
dlls/mf/tests/mf.c
View file @
693bdc63
...
...
@@ -3079,7 +3079,6 @@ todo_wine
ok
(
hr
==
S_OK
,
"Failed to shut down, hr %#x.
\n
"
,
hr
);
hr
=
IMFMediaSink_GetCharacteristics
(
sink
,
&
flags
);
todo_wine
ok
(
hr
==
MF_E_SHUTDOWN
,
"Unexpected hr %#x.
\n
"
,
hr
);
IMFMediaSink_Release
(
sink
);
...
...
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