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
9ed4b1f7
Commit
9ed4b1f7
authored
Sep 18, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/filtergraph: Unset the name of a removed filter.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e0b98935
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
3 deletions
+1
-3
filtergraph.c
dlls/quartz/filtergraph.c
+1
-1
filtergraph.c
dlls/quartz/tests/filtergraph.c
+0
-2
No files found.
dlls/quartz/filtergraph.c
View file @
9ed4b1f7
...
...
@@ -681,7 +681,7 @@ static HRESULT WINAPI FilterGraph2_RemoveFilter(IFilterGraph2 *iface, IBaseFilte
IEnumPins_Release
(
penumpins
);
}
hr
=
IBaseFilter_JoinFilterGraph
(
pFilter
,
NULL
,
entry
->
name
);
hr
=
IBaseFilter_JoinFilterGraph
(
pFilter
,
NULL
,
NULL
);
if
(
SUCCEEDED
(
hr
))
{
IBaseFilter_SetSyncSource
(
pFilter
,
NULL
);
...
...
dlls/quartz/tests/filtergraph.c
View file @
9ed4b1f7
...
...
@@ -1890,7 +1890,6 @@ static void test_add_remove_filter(void)
hr
=
IFilterGraph2_RemoveFilter
(
graph
,
&
filter
.
IBaseFilter_iface
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
!
filter
.
graph
,
"Got graph %p.
\n
"
,
filter
.
graph
);
todo_wine
ok
(
!
filter
.
name
,
"Got name %s.
\n
"
,
wine_dbgstr_w
(
filter
.
name
));
ok
(
!
filter
.
clock
,
"Got clock %p,
\n
"
,
filter
.
clock
);
ok
(
filter
.
ref
==
1
,
"Got outstanding refcount %d.
\n
"
,
filter
.
ref
);
...
...
@@ -1904,7 +1903,6 @@ todo_wine
hr
=
IFilterGraph2_Release
(
graph
);
ok
(
!
hr
,
"Got outstanding refcount %d.
\n
"
,
hr
);
ok
(
!
filter
.
graph
,
"Got graph %p.
\n
"
,
filter
.
graph
);
todo_wine
ok
(
!
filter
.
name
,
"Got name %s.
\n
"
,
wine_dbgstr_w
(
filter
.
name
));
ok
(
!
filter
.
clock
,
"Got clock %p.
\n
"
,
filter
.
clock
);
ok
(
filter
.
ref
==
1
,
"Got outstanding refcount %d.
\n
"
,
filter
.
ref
);
...
...
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