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
568c88cc
Commit
568c88cc
authored
Oct 12, 2012
by
Christian Costa
Committed by
Alexandre Julliard
Oct 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
amstream: Get rid of (IBaseFilter*) casts.
parent
ee593417
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
22 deletions
+30
-22
mediastreamfilter.c
dlls/amstream/mediastreamfilter.c
+30
-22
No files found.
dlls/amstream/mediastreamfilter.c
View file @
568c88cc
...
...
@@ -164,74 +164,82 @@ static ULONG WINAPI MediaStreamFilterImpl_Release(IMediaStreamFilter *iface)
/*** IPersist methods ***/
static
HRESULT
WINAPI
MediaStreamFilterImpl_GetClassID
(
IMediaStreamFilter
*
iface
,
CLSID
*
pC
lsid
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_GetClassID
(
IMediaStreamFilter
*
iface
,
CLSID
*
c
lsid
)
{
return
BaseFilterImpl_GetClassID
((
IBaseFilter
*
)
iface
,
pClsid
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_GetClassID
(
&
This
->
filter
.
IBaseFilter_iface
,
clsid
);
}
/*** IBaseFilter methods ***/
static
HRESULT
WINAPI
MediaStreamFilterImpl_Stop
(
IMediaStreamFilter
*
iface
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_Stop
(
IMediaStreamFilter
*
iface
)
{
FIXME
(
"(%p)->(): Stub!
\n
"
,
iface
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_Pause
(
IMediaStreamFilter
*
iface
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_Pause
(
IMediaStreamFilter
*
iface
)
{
FIXME
(
"(%p)->(): Stub!
\n
"
,
iface
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_Run
(
IMediaStreamFilter
*
iface
,
REFERENCE_TIME
tS
tart
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_Run
(
IMediaStreamFilter
*
iface
,
REFERENCE_TIME
s
tart
)
{
FIXME
(
"(%p)->(%s): Stub!
\n
"
,
iface
,
wine_dbgstr_longlong
(
tS
tart
));
FIXME
(
"(%p)->(%s): Stub!
\n
"
,
iface
,
wine_dbgstr_longlong
(
s
tart
));
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_GetState
(
IMediaStreamFilter
*
iface
,
DWORD
dwMilliSecsTimeout
,
FILTER_STATE
*
pS
tate
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_GetState
(
IMediaStreamFilter
*
iface
,
DWORD
ms_timeout
,
FILTER_STATE
*
s
tate
)
{
return
BaseFilterImpl_GetState
((
IBaseFilter
*
)
iface
,
dwMilliSecsTimeout
,
pState
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_GetState
(
&
This
->
filter
.
IBaseFilter_iface
,
ms_timeout
,
state
);
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_SetSyncSource
(
IMediaStreamFilter
*
iface
,
IReferenceClock
*
pC
lock
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_SetSyncSource
(
IMediaStreamFilter
*
iface
,
IReferenceClock
*
c
lock
)
{
return
BaseFilterImpl_SetSyncSource
((
IBaseFilter
*
)
iface
,
pClock
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_SetSyncSource
(
&
This
->
filter
.
IBaseFilter_iface
,
clock
);
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_GetSyncSource
(
IMediaStreamFilter
*
iface
,
IReferenceClock
**
ppC
lock
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_GetSyncSource
(
IMediaStreamFilter
*
iface
,
IReferenceClock
**
c
lock
)
{
return
BaseFilterImpl_GetSyncSource
((
IBaseFilter
*
)
iface
,
ppClock
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_GetSyncSource
(
&
This
->
filter
.
IBaseFilter_iface
,
clock
);
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_EnumPins
(
IMediaStreamFilter
*
iface
,
IEnumPins
**
ppEnum
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_EnumPins
(
IMediaStreamFilter
*
iface
,
IEnumPins
**
enum_pins
)
{
return
BaseFilterImpl_EnumPins
((
IBaseFilter
*
)
iface
,
ppEnum
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_EnumPins
(
&
This
->
filter
.
IBaseFilter_iface
,
enum_pins
);
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_FindPin
(
IMediaStreamFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppP
in
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_FindPin
(
IMediaStreamFilter
*
iface
,
LPCWSTR
id
,
IPin
**
p
in
)
{
FIXME
(
"(%p)->(%s,%p): Stub!
\n
"
,
iface
,
debugstr_w
(
Id
),
ppP
in
);
FIXME
(
"(%p)->(%s,%p): Stub!
\n
"
,
iface
,
debugstr_w
(
id
),
p
in
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_QueryFilterInfo
(
IMediaStreamFilter
*
iface
,
FILTER_INFO
*
pI
nfo
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_QueryFilterInfo
(
IMediaStreamFilter
*
iface
,
FILTER_INFO
*
i
nfo
)
{
return
BaseFilterImpl_QueryFilterInfo
((
IBaseFilter
*
)
iface
,
pInfo
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_QueryFilterInfo
(
&
This
->
filter
.
IBaseFilter_iface
,
info
);
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_JoinFilterGraph
(
IMediaStreamFilter
*
iface
,
IFilterGraph
*
pGraph
,
LPCWSTR
pN
ame
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_JoinFilterGraph
(
IMediaStreamFilter
*
iface
,
IFilterGraph
*
graph
,
LPCWSTR
n
ame
)
{
return
BaseFilterImpl_JoinFilterGraph
((
IBaseFilter
*
)
iface
,
pGraph
,
pName
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_JoinFilterGraph
(
&
This
->
filter
.
IBaseFilter_iface
,
graph
,
name
);
}
static
HRESULT
WINAPI
MediaStreamFilterImpl_QueryVendorInfo
(
IMediaStreamFilter
*
iface
,
LPWSTR
*
pVendorI
nfo
)
static
HRESULT
WINAPI
MediaStreamFilterImpl_QueryVendorInfo
(
IMediaStreamFilter
*
iface
,
LPWSTR
*
vendor_i
nfo
)
{
return
BaseFilterImpl_QueryVendorInfo
((
IBaseFilter
*
)
iface
,
pVendorInfo
);
IMediaStreamFilterImpl
*
This
=
impl_from_IMediaStreamFilter
(
iface
);
return
BaseFilterImpl_QueryVendorInfo
(
&
This
->
filter
.
IBaseFilter_iface
,
vendor_info
);
}
/*** IMediaStreamFilter methods ***/
...
...
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