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
f810d141
Commit
f810d141
authored
Nov 20, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Nov 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Warn if additional filters should be used in ICaptureGraphBuilder2::RenderStream.
parent
4adcca84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
4 deletions
+20
-4
capturegraph.c
dlls/qcap/capturegraph.c
+20
-4
No files found.
dlls/qcap/capturegraph.c
View file @
f810d141
...
...
@@ -42,6 +42,7 @@
*#include "dshow.h"
*#include "ddraw.h"
*/
#include "uuids.h"
#include "qcap_main.h"
#include "wine/unicode.h"
...
...
@@ -259,8 +260,7 @@ fnCaptureGraphBuilder2_RenderStream(ICaptureGraphBuilder2 * iface,
IBaseFilter
*
pfRenderer
)
{
CaptureGraphImpl
*
This
=
impl_from_ICaptureGraphBuilder2
(
iface
);
IPin
*
source_out
;
IPin
*
renderer_in
;
IPin
*
source_out
,
*
renderer_in
,
*
capture
,
*
preview
;
HRESULT
hr
;
FIXME
(
"(%p/%p)->(%s, %s, %p, %p, %p) semi-stub!
\n
"
,
This
,
iface
,
...
...
@@ -281,14 +281,30 @@ fnCaptureGraphBuilder2_RenderStream(ICaptureGraphBuilder2 * iface,
hr
=
ICaptureGraphBuilder2_FindPin
(
iface
,
pSource
,
PINDIR_OUTPUT
,
pCategory
,
pType
,
TRUE
,
0
,
&
source_out
);
if
(
FAILED
(
hr
))
return
E_INVALIDARG
;
hr
=
ICaptureGraphBuilder2_FindPin
(
iface
,
(
IUnknown
*
)
pfRenderer
,
PINDIR_INPUT
,
pCategory
,
pType
,
TRUE
,
0
,
&
renderer_in
);
if
(
pCategory
&&
IsEqualIID
(
pCategory
,
&
PIN_CATEGORY_VBI
))
{
FIXME
(
"Tee/Sink-to-Sink filter not supported
\n
"
);
IPin_Release
(
source_out
);
return
E_NOTIMPL
;
}
hr
=
ICaptureGraphBuilder2_FindPin
(
iface
,
pSource
,
PINDIR_OUTPUT
,
&
PIN_CATEGORY_CAPTURE
,
NULL
,
TRUE
,
0
,
&
capture
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
ICaptureGraphBuilder2_FindPin
(
iface
,
pSource
,
PINDIR_OUTPUT
,
&
PIN_CATEGORY_PREVIEW
,
NULL
,
TRUE
,
0
,
&
preview
);
if
(
FAILED
(
hr
))
FIXME
(
"Smart Tee filter not supported - not creating preview pin
\n
"
);
else
IPin_Release
(
preview
);
IPin_Release
(
capture
);
}
hr
=
ICaptureGraphBuilder2_FindPin
(
iface
,
(
IUnknown
*
)
pfRenderer
,
PINDIR_INPUT
,
NULL
,
NULL
,
TRUE
,
0
,
&
renderer_in
);
if
(
FAILED
(
hr
))
{
IPin_Release
(
source_out
);
return
hr
;
}
/* Uses 'Intelligent Connect', so Connect, not ConnectDirect here */
if
(
!
pfCompressor
)
hr
=
IGraphBuilder_Connect
(
This
->
mygraph
,
source_out
,
renderer_in
);
else
...
...
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