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
8254058c
Commit
8254058c
authored
Nov 09, 2015
by
Qian Hong
Committed by
Alexandre Julliard
Nov 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Fix error code when checking circular connection.
Signed-off-by:
Qian Hong
<
qhong@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7408a3a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
filtergraph.c
dlls/quartz/filtergraph.c
+2
-2
filtergraph.c
dlls/quartz/tests/filtergraph.c
+0
-1
No files found.
dlls/quartz/filtergraph.c
View file @
8254058c
...
...
@@ -611,7 +611,7 @@ static HRESULT CheckCircularConnection(IFilterGraphImpl *This, IPin *out, IPin *
if
(
info_out
.
dir
!=
PINDIR_OUTPUT
)
{
IBaseFilter_Release
(
info_out
.
pFilter
);
return
E_UNEXPECTED
;
return
VFW_E_CANNOT_CONNECT
;
}
hr
=
IPin_QueryPinInfo
(
in
,
&
info_in
);
...
...
@@ -621,7 +621,7 @@ static HRESULT CheckCircularConnection(IFilterGraphImpl *This, IPin *out, IPin *
goto
out
;
if
(
info_in
.
dir
!=
PINDIR_INPUT
)
{
hr
=
E_UNEXPECTED
;
hr
=
VFW_E_CANNOT_CONNECT
;
goto
out
;
}
...
...
dlls/quartz/tests/filtergraph.c
View file @
8254058c
...
...
@@ -214,7 +214,6 @@ static void test_graph_builder(void)
ok
(
hr
==
E_POINTER
,
"IGraphBuilder_Connect returned %x
\n
"
,
hr
);
hr
=
IGraphBuilder_Connect
(
pgraph
,
pIn
,
pIn
);
todo_wine
ok
(
hr
==
VFW_E_CANNOT_CONNECT
,
"IGraphBuilder_Connect returned %x
\n
"
,
hr
);
if
(
pIn
)
IPin_Release
(
pIn
);
...
...
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