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
98c9aff0
Commit
98c9aff0
authored
Jun 27, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Jun 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf: Release video renderer services before re-initializing.
Signed-off-by:
Rémi Bernon
<
rbernon@codeweavers.com
>
parent
d21fee12
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
evr.c
dlls/mf/evr.c
+2
-0
mf.c
dlls/mf/tests/mf.c
+0
-1
No files found.
dlls/mf/evr.c
View file @
98c9aff0
...
@@ -1707,6 +1707,8 @@ static HRESULT video_renderer_initialize(struct video_renderer *renderer, IMFTra
...
@@ -1707,6 +1707,8 @@ static HRESULT video_renderer_initialize(struct video_renderer *renderer, IMFTra
{
{
HRESULT
hr
;
HRESULT
hr
;
video_renderer_release_services
(
renderer
);
if
(
renderer
->
mixer
)
if
(
renderer
->
mixer
)
{
{
IMFTransform_Release
(
renderer
->
mixer
);
IMFTransform_Release
(
renderer
->
mixer
);
...
...
dlls/mf/tests/mf.c
View file @
98c9aff0
...
@@ -4766,7 +4766,6 @@ static void test_evr(void)
...
@@ -4766,7 +4766,6 @@ static void test_evr(void)
IMFMediaSink_Release
(
sink
);
IMFMediaSink_Release
(
sink
);
ref
=
IMFVideoRenderer_Release
(
video_renderer
);
ref
=
IMFVideoRenderer_Release
(
video_renderer
);
todo_wine
ok
(
ref
==
0
,
"Release returned %ld
\n
"
,
ref
);
ok
(
ref
==
0
,
"Release returned %ld
\n
"
,
ref
);
hr
=
MFCreateVideoRendererActivate
(
NULL
,
NULL
);
hr
=
MFCreateVideoRendererActivate
(
NULL
,
NULL
);
...
...
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