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
19222722
Commit
19222722
authored
Sep 20, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Sep 22, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/filtergraph: Try other output pins if one shouldn't be rendered.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
eb317039
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
filtergraph.c
dlls/quartz/filtergraph.c
+1
-2
filtergraph.c
dlls/quartz/tests/filtergraph.c
+0
-2
No files found.
dlls/quartz/filtergraph.c
View file @
19222722
...
@@ -1059,8 +1059,7 @@ static HRESULT connect_output_pin(IFilterGraphImpl *graph, IBaseFilter *filter,
...
@@ -1059,8 +1059,7 @@ static HRESULT connect_output_pin(IFilterGraphImpl *graph, IBaseFilter *filter,
{
{
TRACE
(
"Skipping non-rendered pin %s.
\n
"
,
debugstr_w
(
info
.
achName
));
TRACE
(
"Skipping non-rendered pin %s.
\n
"
,
debugstr_w
(
info
.
achName
));
IPin_Release
(
pin
);
IPin_Release
(
pin
);
IEnumPins_Release
(
enumpins
);
continue
;
return
E_FAIL
;
}
}
if
(
SUCCEEDED
(
IFilterGraph2_Connect
(
&
graph
->
IFilterGraph2_iface
,
pin
,
sink
)))
if
(
SUCCEEDED
(
IFilterGraph2_Connect
(
&
graph
->
IFilterGraph2_iface
,
pin
,
sink
)))
...
...
dlls/quartz/tests/filtergraph.c
View file @
19222722
...
@@ -1783,11 +1783,9 @@ todo_wine
...
@@ -1783,11 +1783,9 @@ todo_wine
parser1
.
pin_count
=
3
;
parser1
.
pin_count
=
3
;
hr
=
IFilterGraph2_Connect
(
graph
,
&
source_pin
.
IPin_iface
,
&
sink_pin
.
IPin_iface
);
hr
=
IFilterGraph2_Connect
(
graph
,
&
source_pin
.
IPin_iface
,
&
sink_pin
.
IPin_iface
);
todo_wine
{
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
source_pin
.
peer
==
&
parser1_pins
[
0
].
IPin_iface
,
"Got peer %p.
\n
"
,
source_pin
.
peer
);
ok
(
source_pin
.
peer
==
&
parser1_pins
[
0
].
IPin_iface
,
"Got peer %p.
\n
"
,
source_pin
.
peer
);
ok
(
sink_pin
.
peer
==
&
parser1_pins
[
2
].
IPin_iface
,
"Got peer %p.
\n
"
,
sink_pin
.
peer
);
ok
(
sink_pin
.
peer
==
&
parser1_pins
[
2
].
IPin_iface
,
"Got peer %p.
\n
"
,
sink_pin
.
peer
);
}
IFilterGraph2_Disconnect
(
graph
,
source_pin
.
peer
);
IFilterGraph2_Disconnect
(
graph
,
source_pin
.
peer
);
IFilterGraph2_Disconnect
(
graph
,
&
source_pin
.
IPin_iface
);
IFilterGraph2_Disconnect
(
graph
,
&
source_pin
.
IPin_iface
);
IFilterGraph2_Disconnect
(
graph
,
sink_pin
.
peer
);
IFilterGraph2_Disconnect
(
graph
,
sink_pin
.
peer
);
...
...
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