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
ec290906
Commit
ec290906
authored
Jul 05, 2018
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap: Use CBaseFilter::FindPin().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d69a26b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
45 deletions
+4
-45
audiorecord.c
dlls/qcap/audiorecord.c
+1
-8
avico.c
dlls/qcap/avico.c
+1
-8
smartteefilter.c
dlls/qcap/smartteefilter.c
+1
-21
vfwcapture.c
dlls/qcap/vfwcapture.c
+1
-8
No files found.
dlls/qcap/audiorecord.c
View file @
ec290906
...
...
@@ -152,13 +152,6 @@ static HRESULT WINAPI AudioRecord_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
AudioRecord_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppPin
)
{
AudioRecord
*
This
=
impl_from_IBaseFilter
(
iface
);
FIXME
(
"(%p)->(%s, %p): stub
\n
"
,
This
,
debugstr_w
(
Id
),
ppPin
);
return
E_NOTIMPL
;
}
static
const
IBaseFilterVtbl
AudioRecordVtbl
=
{
AudioRecord_QueryInterface
,
AudioRecord_AddRef
,
...
...
@@ -171,7 +164,7 @@ static const IBaseFilterVtbl AudioRecordVtbl = {
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
BaseFilterImpl_EnumPins
,
AudioRecord
_FindPin
,
BaseFilterImpl
_FindPin
,
BaseFilterImpl_QueryFilterInfo
,
BaseFilterImpl_JoinFilterGraph
,
BaseFilterImpl_QueryVendorInfo
...
...
dlls/qcap/avico.c
View file @
ec290906
...
...
@@ -211,13 +211,6 @@ static HRESULT WINAPI AVICompressor_Run(IBaseFilter *iface, REFERENCE_TIME tStar
return
S_OK
;
}
static
HRESULT
WINAPI
AVICompressor_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppPin
)
{
AVICompressor
*
This
=
impl_from_IBaseFilter
(
iface
);
FIXME
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
Id
),
ppPin
);
return
VFW_E_NOT_FOUND
;
}
static
HRESULT
WINAPI
AVICompressor_QueryFilterInfo
(
IBaseFilter
*
iface
,
FILTER_INFO
*
pInfo
)
{
AVICompressor
*
This
=
impl_from_IBaseFilter
(
iface
);
...
...
@@ -244,7 +237,7 @@ static const IBaseFilterVtbl AVICompressorVtbl = {
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
BaseFilterImpl_EnumPins
,
AVICompressor
_FindPin
,
BaseFilterImpl
_FindPin
,
AVICompressor_QueryFilterInfo
,
BaseFilterImpl_JoinFilterGraph
,
AVICompressor_QueryVendorInfo
...
...
dlls/qcap/smartteefilter.c
View file @
ec290906
...
...
@@ -180,26 +180,6 @@ static HRESULT WINAPI SmartTeeFilter_Run(IBaseFilter *iface, REFERENCE_TIME tSta
return
hr
;
}
static
HRESULT
WINAPI
SmartTeeFilter_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppPin
)
{
SmartTeeFilter
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)->(%s, %p)
\n
"
,
This
,
debugstr_w
(
Id
),
ppPin
);
if
(
lstrcmpW
(
Id
,
This
->
input
->
pin
.
pinInfo
.
achName
)
==
0
)
{
*
ppPin
=
&
This
->
input
->
pin
.
IPin_iface
;
IPin_AddRef
(
*
ppPin
);
return
S_OK
;
}
else
if
(
lstrcmpW
(
Id
,
This
->
capture
->
pin
.
pinInfo
.
achName
)
==
0
)
{
*
ppPin
=
&
This
->
capture
->
pin
.
IPin_iface
;
IPin_AddRef
(
*
ppPin
);
return
S_OK
;
}
else
if
(
lstrcmpW
(
Id
,
This
->
preview
->
pin
.
pinInfo
.
achName
)
==
0
)
{
*
ppPin
=
&
This
->
preview
->
pin
.
IPin_iface
;
IPin_AddRef
(
*
ppPin
);
return
S_OK
;
}
return
VFW_E_NOT_FOUND
;
}
static
const
IBaseFilterVtbl
SmartTeeFilterVtbl
=
{
SmartTeeFilter_QueryInterface
,
SmartTeeFilter_AddRef
,
...
...
@@ -212,7 +192,7 @@ static const IBaseFilterVtbl SmartTeeFilterVtbl = {
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
BaseFilterImpl_EnumPins
,
SmartTeeFilter
_FindPin
,
BaseFilterImpl
_FindPin
,
BaseFilterImpl_QueryFilterInfo
,
BaseFilterImpl_JoinFilterGraph
,
BaseFilterImpl_QueryVendorInfo
...
...
dlls/qcap/vfwcapture.c
View file @
ec290906
...
...
@@ -298,13 +298,6 @@ static HRESULT WINAPI VfwCapture_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
return
qcap_driver_run
(
This
->
driver_info
,
&
This
->
filter
.
state
);
}
/** IBaseFilter methods **/
static
HRESULT
WINAPI
VfwCapture_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppPin
)
{
FIXME
(
"(%s, %p) - stub
\n
"
,
debugstr_w
(
Id
),
ppPin
);
return
E_NOTIMPL
;
}
static
const
IBaseFilterVtbl
VfwCapture_Vtbl
=
{
VfwCapture_QueryInterface
,
...
...
@@ -318,7 +311,7 @@ static const IBaseFilterVtbl VfwCapture_Vtbl =
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
BaseFilterImpl_EnumPins
,
VfwCapture
_FindPin
,
BaseFilterImpl
_FindPin
,
BaseFilterImpl_QueryFilterInfo
,
BaseFilterImpl_JoinFilterGraph
,
BaseFilterImpl_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