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
1bd91a4f
Commit
1bd91a4f
authored
Aug 19, 2012
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 20, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Call interface methods properly.
parent
b92ea61e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
capturegraph.c
dlls/qcap/capturegraph.c
+5
-5
No files found.
dlls/qcap/capturegraph.c
View file @
1bd91a4f
...
...
@@ -184,7 +184,7 @@ fnCaptureGraphBuilder2_SetFilterGraph(ICaptureGraphBuilder2 * iface,
This
->
mygraph
=
pfg
;
IGraphBuilder_AddRef
(
This
->
mygraph
);
if
(
SUCCEEDED
(
I
Unknown
_QueryInterface
(
This
->
mygraph
,
if
(
SUCCEEDED
(
I
GraphBuilder
_QueryInterface
(
This
->
mygraph
,
&
IID_IMediaEvent
,
(
LPVOID
*
)
&
pmev
)))
{
IMediaEvent_CancelDefaultHandling
(
pmev
,
EC_REPAINT
);
...
...
@@ -290,7 +290,7 @@ fnCaptureGraphBuilder2_RenderStream(ICaptureGraphBuilder2 * iface,
}
/* Uses 'Intelligent Connect', so Connect, not ConnectDirect here */
hr
=
I
FilterGraph2
_Connect
(
This
->
mygraph
,
pin_in
,
pin_out
);
hr
=
I
GraphBuilder
_Connect
(
This
->
mygraph
,
pin_in
,
pin_out
);
IPin_Release
(
pin_in
);
IPin_Release
(
pin_out
);
return
hr
;
...
...
@@ -474,7 +474,7 @@ fnCaptureGraphBuilder_QueryInterface(ICaptureGraphBuilder * iface,
{
CaptureGraphImpl
*
This
=
impl_from_ICaptureGraphBuilder
(
iface
);
TRACE
(
"%p --> Forwarding to v2 (%p)
\n
"
,
iface
,
This
);
return
I
Unknown
_QueryInterface
(
&
This
->
ICaptureGraphBuilder2_iface
,
riid
,
ppv
);
return
I
CaptureGraphBuilder2
_QueryInterface
(
&
This
->
ICaptureGraphBuilder2_iface
,
riid
,
ppv
);
}
static
ULONG
WINAPI
...
...
@@ -482,7 +482,7 @@ fnCaptureGraphBuilder_AddRef(ICaptureGraphBuilder * iface)
{
CaptureGraphImpl
*
This
=
impl_from_ICaptureGraphBuilder
(
iface
);
TRACE
(
"%p --> Forwarding to v2 (%p)
\n
"
,
iface
,
This
);
return
I
Unknown
_AddRef
(
&
This
->
ICaptureGraphBuilder2_iface
);
return
I
CaptureGraphBuilder2
_AddRef
(
&
This
->
ICaptureGraphBuilder2_iface
);
}
static
ULONG
WINAPI
...
...
@@ -490,7 +490,7 @@ fnCaptureGraphBuilder_Release(ICaptureGraphBuilder * iface)
{
CaptureGraphImpl
*
This
=
impl_from_ICaptureGraphBuilder
(
iface
);
TRACE
(
"%p --> Forwarding to v2 (%p)
\n
"
,
iface
,
This
);
return
I
Unknown
_Release
(
&
This
->
ICaptureGraphBuilder2_iface
);
return
I
CaptureGraphBuilder2
_Release
(
&
This
->
ICaptureGraphBuilder2_iface
);
}
static
HRESULT
WINAPI
...
...
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