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
32fd95be
Commit
32fd95be
authored
Jun 06, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
Jun 06, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qedit/samplegrabber: Use BaseFilterImpl_FindPin().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f500b1dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
25 deletions
+1
-25
samplegrabber.c
dlls/qedit/samplegrabber.c
+1
-25
No files found.
dlls/qedit/samplegrabber.c
View file @
32fd95be
...
...
@@ -408,30 +408,6 @@ SampleGrabber_IBaseFilter_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
/* IBaseFilter */
static
HRESULT
WINAPI
SampleGrabber_IBaseFilter_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
id
,
IPin
**
pin
)
{
SG_Impl
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)->(%s, %p)
\n
"
,
This
,
debugstr_w
(
id
),
pin
);
if
(
!
id
||
!
pin
)
return
E_POINTER
;
if
(
!
lstrcmpiW
(
id
,
pin_in_name
))
{
*
pin
=
&
This
->
pin_in
.
IPin_iface
;
IPin_AddRef
(
*
pin
);
return
S_OK
;
}
else
if
(
!
lstrcmpiW
(
id
,
pin_out_name
))
{
*
pin
=
&
This
->
pin_out
.
IPin_iface
;
IPin_AddRef
(
*
pin
);
return
S_OK
;
}
*
pin
=
NULL
;
return
VFW_E_NOT_FOUND
;
}
/* IBaseFilter */
static
HRESULT
WINAPI
SampleGrabber_IBaseFilter_JoinFilterGraph
(
IBaseFilter
*
iface
,
IFilterGraph
*
graph
,
LPCWSTR
name
)
{
SG_Impl
*
This
=
impl_from_IBaseFilter
(
iface
);
...
...
@@ -1082,7 +1058,7 @@ static const IBaseFilterVtbl IBaseFilter_VTable =
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
BaseFilterImpl_EnumPins
,
SampleGrabber_IBaseFilter
_FindPin
,
BaseFilterImpl
_FindPin
,
BaseFilterImpl_QueryFilterInfo
,
SampleGrabber_IBaseFilter_JoinFilterGraph
,
SampleGrabber_IBaseFilter_QueryVendorInfo
,
...
...
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