Commit 5568f33d authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Forward IMediaFilter to IMediaControl.

parent 44827a03
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment