mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
strmbase: Rename pfnBreakConnect to renderer_disconnect.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
40d77283eb
commit
4bede3b27b
3 changed files with 5 additions and 7 deletions
|
@ -512,7 +512,7 @@ static HRESULT vmr_connect(struct strmbase_renderer *iface, const AM_MEDIA_TYPE
|
|||
return hr;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI VMR9_BreakConnect(struct strmbase_renderer *This)
|
||||
static HRESULT vmr_disconnect(struct strmbase_renderer *This)
|
||||
{
|
||||
struct quartz_vmr *filter = impl_from_IBaseFilter(&This->filter.IBaseFilter_iface);
|
||||
HRESULT hr = S_OK;
|
||||
|
@ -638,7 +638,7 @@ static const struct strmbase_renderer_ops renderer_ops =
|
|||
.renderer_start_stream = vmr_start_stream,
|
||||
.renderer_stop_stream = vmr_stop_stream,
|
||||
.renderer_connect = vmr_connect,
|
||||
.pfnBreakConnect = VMR9_BreakConnect,
|
||||
.renderer_disconnect = vmr_disconnect,
|
||||
.renderer_destroy = vmr_destroy,
|
||||
.renderer_query_interface = vmr_query_interface,
|
||||
.renderer_pin_query_interface = vmr_pin_query_interface,
|
||||
|
|
|
@ -427,8 +427,8 @@ static void sink_disconnect(struct strmbase_sink *iface)
|
|||
{
|
||||
struct strmbase_renderer *filter = impl_from_IPin(&iface->pin.IPin_iface);
|
||||
|
||||
if (filter->pFuncsTable->pfnBreakConnect)
|
||||
filter->pFuncsTable->pfnBreakConnect(filter);
|
||||
if (filter->pFuncsTable->renderer_disconnect)
|
||||
filter->pFuncsTable->renderer_disconnect(filter);
|
||||
}
|
||||
|
||||
static HRESULT sink_eos(struct strmbase_sink *iface)
|
||||
|
|
|
@ -305,8 +305,6 @@ struct strmbase_renderer
|
|||
BOOL eos;
|
||||
};
|
||||
|
||||
typedef HRESULT (WINAPI *BaseRenderer_BreakConnect) (struct strmbase_renderer *iface);
|
||||
|
||||
struct strmbase_renderer_ops
|
||||
{
|
||||
HRESULT (*renderer_query_accept)(struct strmbase_renderer *iface, const AM_MEDIA_TYPE *mt);
|
||||
|
@ -315,7 +313,7 @@ struct strmbase_renderer_ops
|
|||
void (*renderer_start_stream)(struct strmbase_renderer *iface);
|
||||
void (*renderer_stop_stream)(struct strmbase_renderer *iface);
|
||||
HRESULT (*renderer_connect)(struct strmbase_renderer *iface, const AM_MEDIA_TYPE *mt);
|
||||
BaseRenderer_BreakConnect pfnBreakConnect;
|
||||
HRESULT (*renderer_disconnect)(struct strmbase_renderer *iface);
|
||||
void (*renderer_destroy)(struct strmbase_renderer *iface);
|
||||
HRESULT (*renderer_query_interface)(struct strmbase_renderer *iface, REFIID iid, void **out);
|
||||
HRESULT (*renderer_pin_query_interface)(struct strmbase_renderer *iface, REFIID iid, void **out);
|
||||
|
|
Loading…
Reference in a new issue