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
ffe9fee1
Commit
ffe9fee1
authored
May 28, 2019
by
Zebediah Figura
Committed by
Alexandre Julliard
May 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
qcap/avimux: Use strmbase filter methods directly.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e10cb0d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
53 deletions
+4
-53
avimux.c
dlls/qcap/avimux.c
+4
-53
No files found.
dlls/qcap/avimux.c
View file @
ffe9fee1
...
@@ -709,55 +709,6 @@ static HRESULT WINAPI AviMux_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
...
@@ -709,55 +709,6 @@ static HRESULT WINAPI AviMux_Run(IBaseFilter *iface, REFERENCE_TIME tStart)
return
S_OK
;
return
S_OK
;
}
}
static
HRESULT
WINAPI
AviMux_EnumPins
(
IBaseFilter
*
iface
,
IEnumPins
**
ppEnum
)
{
AviMux
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
ppEnum
);
return
BaseFilterImpl_EnumPins
(
iface
,
ppEnum
);
}
static
HRESULT
WINAPI
AviMux_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppPin
)
{
AviMux
*
This
=
impl_from_IBaseFilter
(
iface
);
int
i
;
TRACE
(
"(%p)->(%s %p)
\n
"
,
This
,
debugstr_w
(
Id
),
ppPin
);
if
(
!
Id
||
!
ppPin
)
return
E_POINTER
;
if
(
!
lstrcmpiW
(
Id
,
This
->
out
->
pin
.
pin
.
pinInfo
.
achName
))
{
IPin_AddRef
(
&
This
->
out
->
pin
.
pin
.
IPin_iface
);
*
ppPin
=
&
This
->
out
->
pin
.
pin
.
IPin_iface
;
return
S_OK
;
}
for
(
i
=
0
;
i
<
This
->
input_pin_no
;
i
++
)
{
if
(
lstrcmpiW
(
Id
,
This
->
in
[
i
]
->
pin
.
pin
.
pinInfo
.
achName
))
continue
;
IPin_AddRef
(
&
This
->
in
[
i
]
->
pin
.
pin
.
IPin_iface
);
*
ppPin
=
&
This
->
in
[
i
]
->
pin
.
pin
.
IPin_iface
;
return
S_OK
;
}
return
VFW_E_NOT_FOUND
;
}
static
HRESULT
WINAPI
AviMux_QueryFilterInfo
(
IBaseFilter
*
iface
,
FILTER_INFO
*
pInfo
)
{
AviMux
*
This
=
impl_from_IBaseFilter
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pInfo
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
AviMux_QueryVendorInfo
(
IBaseFilter
*
iface
,
LPWSTR
*
pVendorInfo
)
{
AviMux
*
This
=
impl_from_IBaseFilter
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
pVendorInfo
);
return
E_NOTIMPL
;
}
static
const
IBaseFilterVtbl
AviMuxVtbl
=
{
static
const
IBaseFilterVtbl
AviMuxVtbl
=
{
AviMux_QueryInterface
,
AviMux_QueryInterface
,
BaseFilterImpl_AddRef
,
BaseFilterImpl_AddRef
,
...
@@ -769,11 +720,11 @@ static const IBaseFilterVtbl AviMuxVtbl = {
...
@@ -769,11 +720,11 @@ static const IBaseFilterVtbl AviMuxVtbl = {
BaseFilterImpl_GetState
,
BaseFilterImpl_GetState
,
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_SetSyncSource
,
BaseFilterImpl_GetSyncSource
,
BaseFilterImpl_GetSyncSource
,
AviMux
_EnumPins
,
BaseFilterImpl
_EnumPins
,
AviMux
_FindPin
,
BaseFilterImpl
_FindPin
,
AviMux
_QueryFilterInfo
,
BaseFilterImpl
_QueryFilterInfo
,
BaseFilterImpl_JoinFilterGraph
,
BaseFilterImpl_JoinFilterGraph
,
AviMux
_QueryVendorInfo
BaseFilterImpl
_QueryVendorInfo
};
};
static
inline
AviMux
*
impl_from_IConfigAviMux
(
IConfigAviMux
*
iface
)
static
inline
AviMux
*
impl_from_IConfigAviMux
(
IConfigAviMux
*
iface
)
...
...
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