Commit dc8bd459 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

strmbase: Get rid of BaseRendererImpl_EndFlush().

parent 0011be7f
......@@ -520,10 +520,6 @@ static HRESULT WINAPI DSoundRender_EndFlush(struct strmbase_renderer *iface)
{
DSoundRenderImpl *This = impl_from_strmbase_renderer(iface);
TRACE("\n");
BaseRendererImpl_EndFlush(iface);
if (This->dsbuffer)
{
LPBYTE buffer;
......
......@@ -130,10 +130,12 @@ static HRESULT WINAPI BaseRenderer_InputPin_EndFlush(IPin * iface)
hr = BaseInputPinImpl_EndFlush(iface);
if (SUCCEEDED(hr))
{
QualityControlRender_Start(pFilter->qcimpl, pFilter->stream_start);
RendererPosPassThru_ResetMediaTime(pFilter->pPosition);
ResetEvent(pFilter->flush_event);
if (pFilter->pFuncsTable->pfnEndFlush)
hr = pFilter->pFuncsTable->pfnEndFlush(pFilter);
else
hr = BaseRendererImpl_EndFlush(pFilter);
}
LeaveCriticalSection(&pFilter->filter.csFilter);
LeaveCriticalSection(&pFilter->csRenderLock);
......@@ -479,15 +481,6 @@ HRESULT WINAPI BaseRendererImpl_EndOfStream(struct strmbase_renderer *iface)
return hr;
}
HRESULT WINAPI BaseRendererImpl_EndFlush(struct strmbase_renderer *iface)
{
TRACE("(%p)\n", iface);
QualityControlRender_Start(iface->qcimpl, iface->stream_start);
RendererPosPassThru_ResetMediaTime(iface->pPosition);
ResetEvent(iface->flush_event);
return S_OK;
}
HRESULT WINAPI BaseRendererImpl_ClearPendingSample(struct strmbase_renderer *iface)
{
if (iface->pMediaSample)
......
......@@ -569,7 +569,6 @@ struct strmbase_renderer_ops
HRESULT WINAPI BaseRendererImpl_ClearPendingSample(struct strmbase_renderer *filter);
HRESULT WINAPI BaseRendererImpl_EndOfStream(struct strmbase_renderer *filter);
HRESULT WINAPI BaseRendererImpl_EndFlush(struct strmbase_renderer *filter);
HRESULT WINAPI BaseRendererImpl_Receive(struct strmbase_renderer *filter, IMediaSample *sample);
HRESULT WINAPI strmbase_renderer_init(struct strmbase_renderer *filter, IUnknown *outer,
......
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