strmbase: Get rid of BaseRendererImpl_Release().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3855216cb3
commit
17ab5f977d
|
@ -301,17 +301,6 @@ void strmbase_renderer_cleanup(BaseRenderer *filter)
|
|||
BaseFilter_Destroy(&filter->filter);
|
||||
}
|
||||
|
||||
ULONG WINAPI BaseRendererImpl_Release(IBaseFilter* iface)
|
||||
{
|
||||
BaseRenderer *This = impl_from_IBaseFilter(iface);
|
||||
ULONG refCount = InterlockedDecrement(&This->filter.refCount);
|
||||
|
||||
if (!refCount)
|
||||
strmbase_renderer_cleanup(This);
|
||||
|
||||
return refCount;
|
||||
}
|
||||
|
||||
HRESULT WINAPI BaseRendererImpl_Receive(BaseRenderer *This, IMediaSample * pSample)
|
||||
{
|
||||
HRESULT hr = S_OK;
|
||||
|
|
|
@ -608,7 +608,6 @@ typedef struct BaseRendererFuncTable {
|
|||
} BaseRendererFuncTable;
|
||||
|
||||
HRESULT WINAPI BaseRendererImpl_QueryInterface(IBaseFilter * iface, REFIID riid, LPVOID * ppv);
|
||||
ULONG WINAPI BaseRendererImpl_Release(IBaseFilter * iface);
|
||||
HRESULT WINAPI BaseRendererImpl_Receive(BaseRenderer *This, IMediaSample * pSample);
|
||||
HRESULT WINAPI BaseRendererImpl_Stop(IBaseFilter * iface);
|
||||
HRESULT WINAPI BaseRendererImpl_Run(IBaseFilter * iface, REFERENCE_TIME tStart);
|
||||
|
|
Loading…
Reference in New Issue