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
05d658d0
Commit
05d658d0
authored
May 18, 2005
by
Maarten Lankhorst
Committed by
Alexandre Julliard
May 18, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added reconnect function for filtergraph.
parent
0caae476
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
filtergraph.c
dlls/quartz/filtergraph.c
+20
-3
No files found.
dlls/quartz/filtergraph.c
View file @
05d658d0
...
...
@@ -473,10 +473,27 @@ static HRESULT WINAPI Graphbuilder_ConnectDirect(IGraphBuilder *iface,
static
HRESULT
WINAPI
Graphbuilder_Reconnect
(
IGraphBuilder
*
iface
,
IPin
*
ppin
)
{
ICOM_THIS_MULTI
(
IFilterGraphImpl
,
IGraphBuilder_vtbl
,
iface
);
IPin
*
pConnectedTo
=
NULL
;
HRESULT
hr
;
PIN_DIRECTION
pindir
;
TRACE
(
"(%p/%p)->(%p): stub !!!
\n
"
,
This
,
iface
,
ppin
);
return
S_OK
;
IPin_QueryDirection
(
ppin
,
&
pindir
);
hr
=
IPin_ConnectedTo
(
ppin
,
&
pConnectedTo
);
if
(
FAILED
(
hr
))
{
TRACE
(
"Querying connected to failed: %lx
\n
"
,
hr
);
return
hr
;
}
IPin_Disconnect
(
ppin
);
IPin_Disconnect
(
pConnectedTo
);
if
(
pindir
==
PINDIR_INPUT
)
hr
=
IPin_Connect
(
pConnectedTo
,
ppin
,
NULL
);
else
hr
=
IPin_Connect
(
ppin
,
pConnectedTo
,
NULL
);
IPin_Release
(
pConnectedTo
);
if
(
FAILED
(
hr
))
ERR
(
"Reconnecting pins failed, pins are not connected now..
\n
"
);
TRACE
(
"(%p->%p) -- %p %p -> %lx
\n
"
,
iface
,
This
,
ppin
,
pConnectedTo
,
hr
);
return
hr
;
}
static
HRESULT
WINAPI
Graphbuilder_Disconnect
(
IGraphBuilder
*
iface
,
...
...
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