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
952f1945
Commit
952f1945
authored
Apr 08, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Use pin_matches() directly in find_unconnected_source_from_pin().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
74014b55
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
capturegraph.c
dlls/qcap/capturegraph.c
+10
-5
No files found.
dlls/qcap/capturegraph.c
View file @
952f1945
...
...
@@ -511,12 +511,17 @@ static HRESULT find_unconnected_source_from_pin(CaptureGraphImpl *capture_graph,
if
(
category
&&
(
IsEqualGUID
(
category
,
&
PIN_CATEGORY_CAPTURE
)
||
IsEqualGUID
(
category
,
&
PIN_CATEGORY_PREVIEW
)))
hr
=
match_smart_tee_pin
(
capture_graph
,
category
,
majortype
,
(
IUnknown
*
)
pin
,
&
pin
);
{
if
(
FAILED
(
hr
=
match_smart_tee_pin
(
capture_graph
,
category
,
majortype
,
(
IUnknown
*
)
pin
,
&
pin
)))
return
hr
;
}
else
if
(
pin_matches
(
pin
,
PINDIR_OUTPUT
,
category
,
majortype
,
FALSE
))
{
IPin_AddRef
(
pin
);
hr
=
S_OK
;
}
else
hr
=
ICaptureGraphBuilder2_FindPin
(
&
capture_graph
->
ICaptureGraphBuilder2_iface
,
(
IUnknown
*
)
pin
,
PINDIR_OUTPUT
,
category
,
majortype
,
FALSE
,
-
1
,
&
pin
);
if
(
FAILED
(
hr
))
return
hr
;
return
E_FAIL
;
if
(
FAILED
(
IPin_ConnectedTo
(
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