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
d19aac6e
Commit
d19aac6e
authored
Nov 15, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Don't stop the filter in IFilterGraph::RemoveFilter().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
57eddc00
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
filtergraph.c
dlls/quartz/filtergraph.c
+0
-5
filtergraph.c
dlls/quartz/tests/filtergraph.c
+2
-4
No files found.
dlls/quartz/filtergraph.c
View file @
d19aac6e
...
...
@@ -720,11 +720,6 @@ static HRESULT WINAPI FilterGraph2_RemoveFilter(IFilterGraph2 *iface, IBaseFilte
}
TRACE
(
"Removing filter %s.
\n
"
,
debugstr_w
(
entry
->
name
));
IBaseFilter_GetState
(
pFilter
,
0
,
&
state
);
if
(
state
==
State_Running
)
IBaseFilter_Pause
(
pFilter
);
if
(
state
!=
State_Stopped
)
IBaseFilter_Stop
(
pFilter
);
hr
=
IBaseFilter_EnumPins
(
pFilter
,
&
penumpins
);
if
(
SUCCEEDED
(
hr
))
{
...
...
dlls/quartz/tests/filtergraph.c
View file @
d19aac6e
...
...
@@ -3721,14 +3721,12 @@ todo_wine
hr
=
IFilterGraph2_RemoveFilter
(
graph
,
&
dummy
.
IBaseFilter_iface
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
todo_wine
ok
(
dummy
.
state
==
State_Paused
,
"Got state %#x.
\n
"
,
dummy
.
state
);
ok
(
dummy
.
state
==
State_Paused
,
"Got state %#x.
\n
"
,
dummy
.
state
);
hr
=
IFilterGraph2_AddFilter
(
graph
,
&
dummy
.
IBaseFilter_iface
,
L"dummy"
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
todo_wine
ok
(
dummy
.
state
==
State_Paused
,
"Got state %#x.
\n
"
,
dummy
.
state
);
ok
(
dummy
.
state
==
State_Paused
,
"Got state %#x.
\n
"
,
dummy
.
state
);
if
(
dummy
.
state
==
State_Stopped
)
dummy
.
expect_stop_prev
=
State_Stopped
;
hr
=
IMediaControl_Stop
(
control
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
check_filter_state
(
graph
,
State_Stopped
);
...
...
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