quartz: Forward IMediaFilter to IMediaControl.

This commit is contained in:
Maarten Lankhorst 2010-05-17 21:34:11 +02:00 committed by Alexandre Julliard
parent 44827a0336
commit 5568f33db3
1 changed files with 8 additions and 12 deletions

View File

@ -5055,30 +5055,26 @@ static HRESULT WINAPI MediaFilter_GetClassID(IMediaFilter *iface, CLSID * pClass
static HRESULT WINAPI MediaFilter_Stop(IMediaFilter *iface)
{
FIXME("(): stub\n");
return E_NOTIMPL;
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return MediaControl_Stop((IMediaControl*)&This->IMediaControl_vtbl);
}
static HRESULT WINAPI MediaFilter_Pause(IMediaFilter *iface)
{
FIXME("(): stub\n");
return E_NOTIMPL;
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return MediaControl_Pause((IMediaControl*)&This->IMediaControl_vtbl);
}
static HRESULT WINAPI MediaFilter_Run(IMediaFilter *iface, REFERENCE_TIME tStart)
{
FIXME("(0x%s): stub\n", wine_dbgstr_longlong(tStart));
return E_NOTIMPL;
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return MediaControl_Run((IMediaControl*)&This->IMediaControl_vtbl);
}
static HRESULT WINAPI MediaFilter_GetState(IMediaFilter *iface, DWORD dwMsTimeout, FILTER_STATE * pState)
{
FIXME("(%d, %p): stub\n", dwMsTimeout, pState);
return E_NOTIMPL;
ICOM_THIS_MULTI(IFilterGraphImpl, IMediaFilter_vtbl, iface);
return MediaControl_GetState((IMediaControl*)&This->IMediaControl_vtbl, dwMsTimeout, (OAFilterState*)pState);
}
static HRESULT WINAPI MediaFilter_SetSyncSource(IMediaFilter *iface, IReferenceClock *pClock)