strmbase: Rename pfnOnStartStreaming to renderer_start_stream.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
48b475ad00
commit
fa5c24e933
|
@ -434,7 +434,7 @@ static VOID WINAPI DSoundRender_OnStopStreaming(BaseRenderer * iface)
|
|||
This->writepos = This->buf_size;
|
||||
}
|
||||
|
||||
static VOID WINAPI DSoundRender_OnStartStreaming(BaseRenderer * iface)
|
||||
static void dsound_render_start_stream(BaseRenderer *iface)
|
||||
{
|
||||
DSoundRenderImpl *This = impl_from_BaseRenderer(iface);
|
||||
|
||||
|
@ -605,7 +605,7 @@ static const BaseRendererFuncTable BaseFuncTable =
|
|||
{
|
||||
.pfnCheckMediaType = DSoundRender_CheckMediaType,
|
||||
.pfnDoRenderSample = DSoundRender_DoRenderSample,
|
||||
.pfnOnStartStreaming = DSoundRender_OnStartStreaming,
|
||||
.renderer_start_stream = dsound_render_start_stream,
|
||||
.pfnOnStopStreaming = DSoundRender_OnStopStreaming,
|
||||
.pfnShouldDrawSampleNow = DSoundRender_ShouldDrawSampleNow,
|
||||
.pfnPrepareReceive = DSoundRender_PrepareReceive,
|
||||
|
|
|
@ -417,7 +417,7 @@ static VOID WINAPI VideoRenderer_OnStopStreaming(BaseRenderer* iface)
|
|||
RedrawWindow(This->baseControlWindow.baseWindow.hWnd, NULL, NULL, RDW_INVALIDATE|RDW_ERASE);
|
||||
}
|
||||
|
||||
static VOID WINAPI VideoRenderer_OnStartStreaming(BaseRenderer* iface)
|
||||
static void video_renderer_start_stream(BaseRenderer *iface)
|
||||
{
|
||||
VideoRendererImpl *This = impl_from_BaseRenderer(iface);
|
||||
|
||||
|
@ -473,7 +473,7 @@ static const BaseRendererFuncTable BaseFuncTable =
|
|||
{
|
||||
.pfnCheckMediaType = VideoRenderer_CheckMediaType,
|
||||
.pfnDoRenderSample = VideoRenderer_DoRenderSample,
|
||||
.pfnOnStartStreaming = VideoRenderer_OnStartStreaming,
|
||||
.renderer_start_stream = video_renderer_start_stream,
|
||||
.pfnOnStopStreaming = VideoRenderer_OnStopStreaming,
|
||||
.pfnShouldDrawSampleNow = VideoRenderer_ShouldDrawSampleNow,
|
||||
.pfnEndFlush = VideoRenderer_EndFlush,
|
||||
|
|
|
@ -429,7 +429,7 @@ static HRESULT VMR9_maybe_init(struct quartz_vmr *This, BOOL force)
|
|||
return hr;
|
||||
}
|
||||
|
||||
static VOID WINAPI VMR9_OnStartStreaming(BaseRenderer* iface)
|
||||
static void vmr_start_stream(BaseRenderer *iface)
|
||||
{
|
||||
struct quartz_vmr *This = impl_from_IBaseFilter(&iface->filter.IBaseFilter_iface);
|
||||
|
||||
|
@ -562,7 +562,7 @@ static const BaseRendererFuncTable BaseFuncTable =
|
|||
{
|
||||
.pfnCheckMediaType = VMR9_CheckMediaType,
|
||||
.pfnDoRenderSample = VMR9_DoRenderSample,
|
||||
.pfnOnStartStreaming = VMR9_OnStartStreaming,
|
||||
.renderer_start_stream = vmr_start_stream,
|
||||
.pfnOnStopStreaming = VMR9_OnStopStreaming,
|
||||
.pfnShouldDrawSampleNow = VMR9_ShouldDrawSampleNow,
|
||||
.pfnCompleteConnect = VMR9_CompleteConnect,
|
||||
|
|
|
@ -441,8 +441,8 @@ HRESULT WINAPI BaseRendererImpl_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
|
|||
if (SUCCEEDED(hr))
|
||||
{
|
||||
QualityControlRender_Start(This->qcimpl, This->filter.rtStreamStart);
|
||||
if (This->pFuncsTable->pfnOnStartStreaming)
|
||||
This->pFuncsTable->pfnOnStartStreaming(This);
|
||||
if (This->pFuncsTable->renderer_start_stream)
|
||||
This->pFuncsTable->renderer_start_stream(This);
|
||||
if (This->filter.state == State_Stopped)
|
||||
BaseRendererImpl_ClearPendingSample(This);
|
||||
This->filter.state = State_Running;
|
||||
|
|
|
@ -562,7 +562,6 @@ typedef HRESULT (WINAPI *BaseRenderer_DoRenderSample)(BaseRenderer *This, IMedia
|
|||
typedef VOID (WINAPI *BaseRenderer_OnReceiveFirstSample)(BaseRenderer *This, IMediaSample *pMediaSample);
|
||||
typedef VOID (WINAPI *BaseRenderer_OnRenderEnd)(BaseRenderer *This, IMediaSample *pMediaSample);
|
||||
typedef VOID (WINAPI *BaseRenderer_OnRenderStart)(BaseRenderer *This, IMediaSample *pMediaSample);
|
||||
typedef VOID (WINAPI *BaseRenderer_OnStartStreaming)(BaseRenderer *This);
|
||||
typedef VOID (WINAPI *BaseRenderer_OnStopStreaming)(BaseRenderer *This);
|
||||
typedef VOID (WINAPI *BaseRenderer_OnWaitEnd)(BaseRenderer *This);
|
||||
typedef VOID (WINAPI *BaseRenderer_OnWaitStart)(BaseRenderer *This);
|
||||
|
@ -578,7 +577,7 @@ typedef HRESULT (WINAPI *BaseRenderer_CompleteConnect) (BaseRenderer *This, IPin
|
|||
typedef struct BaseRendererFuncTable {
|
||||
BaseRenderer_CheckMediaType pfnCheckMediaType;
|
||||
BaseRenderer_DoRenderSample pfnDoRenderSample;
|
||||
BaseRenderer_OnStartStreaming pfnOnStartStreaming;
|
||||
void (*renderer_start_stream)(BaseRenderer *iface);
|
||||
BaseRenderer_OnStopStreaming pfnOnStopStreaming;
|
||||
BaseRenderer_ShouldDrawSampleNow pfnShouldDrawSampleNow;
|
||||
BaseRenderer_PrepareReceive pfnPrepareReceive;
|
||||
|
|
Loading…
Reference in New Issue