forked from Mirrors/wine-wine
quartz/tests: Remove some no longer necessary callbacks.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>feature/deterministic
parent
1a4e9a84c2
commit
7de86140f1
|
@ -769,11 +769,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
|||
.filter_destroy = testfilter_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
||||
IMemInputPin *peer, IMemAllocator **allocator)
|
||||
{
|
||||
|
@ -782,8 +777,6 @@ static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
|||
|
||||
static const struct strmbase_source_ops testsource_ops =
|
||||
{
|
||||
.base.pin_query_accept = testsource_query_accept,
|
||||
.base.pin_get_media_type = strmbase_pin_get_media_type,
|
||||
.pfnAttemptConnection = BaseOutputPinImpl_AttemptConnection,
|
||||
.pfnDecideAllocator = testsource_DecideAllocator,
|
||||
};
|
||||
|
|
|
@ -836,11 +836,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
|||
.filter_destroy = testfilter_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT testsource_query_interface(struct strmbase_pin *iface, REFIID iid, void **out)
|
||||
{
|
||||
struct testfilter *filter = impl_from_strmbase_filter(iface->filter);
|
||||
|
@ -877,8 +872,6 @@ static HRESULT WINAPI testsource_AttemptConnection(struct strmbase_source *iface
|
|||
static const struct strmbase_source_ops testsource_ops =
|
||||
{
|
||||
.base.pin_query_interface = testsource_query_interface,
|
||||
.base.pin_query_accept = testsource_query_accept,
|
||||
.base.pin_get_media_type = strmbase_pin_get_media_type,
|
||||
.pfnAttemptConnection = testsource_AttemptConnection,
|
||||
};
|
||||
|
||||
|
|
|
@ -1240,11 +1240,6 @@ static const struct strmbase_filter_ops testsink_ops =
|
|||
.filter_destroy = testsink_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsink_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT testsink_get_media_type(struct strmbase_pin *iface, unsigned int index, AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
struct testsink *filter = impl_sink_from_strmbase_filter(iface->filter);
|
||||
|
@ -1274,7 +1269,6 @@ static void testsink_disconnect(struct strmbase_sink *iface)
|
|||
|
||||
static const struct strmbase_sink_ops testsink_pin_ops =
|
||||
{
|
||||
.base.pin_query_accept = testsink_query_accept,
|
||||
.base.pin_get_media_type = testsink_get_media_type,
|
||||
.sink_connect = testsink_connect,
|
||||
.sink_disconnect = testsink_disconnect,
|
||||
|
|
|
@ -1126,11 +1126,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
|||
.filter_destroy = testfilter_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT testsource_query_interface(struct strmbase_pin *iface, REFIID iid, void **out)
|
||||
{
|
||||
struct testfilter *filter = impl_from_strmbase_filter(iface->filter);
|
||||
|
@ -1167,8 +1162,6 @@ static HRESULT WINAPI testsource_AttemptConnection(struct strmbase_source *iface
|
|||
static const struct strmbase_source_ops testsource_ops =
|
||||
{
|
||||
.base.pin_query_interface = testsource_query_interface,
|
||||
.base.pin_query_accept = testsource_query_accept,
|
||||
.base.pin_get_media_type = strmbase_pin_get_media_type,
|
||||
.pfnAttemptConnection = testsource_AttemptConnection,
|
||||
};
|
||||
|
||||
|
|
|
@ -517,11 +517,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
|||
.filter_destroy = testfilter_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
||||
IMemInputPin *peer, IMemAllocator **allocator)
|
||||
{
|
||||
|
@ -530,8 +525,6 @@ static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
|||
|
||||
static const struct strmbase_source_ops testsource_ops =
|
||||
{
|
||||
.base.pin_query_accept = testsource_query_accept,
|
||||
.base.pin_get_media_type = strmbase_pin_get_media_type,
|
||||
.pfnAttemptConnection = BaseOutputPinImpl_AttemptConnection,
|
||||
.pfnDecideAllocator = testsource_DecideAllocator,
|
||||
};
|
||||
|
|
|
@ -867,11 +867,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
|||
.filter_destroy = testfilter_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
||||
IMemInputPin *peer, IMemAllocator **allocator)
|
||||
{
|
||||
|
@ -880,8 +875,6 @@ static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
|||
|
||||
static const struct strmbase_source_ops testsource_ops =
|
||||
{
|
||||
.base.pin_query_accept = testsource_query_accept,
|
||||
.base.pin_get_media_type = strmbase_pin_get_media_type,
|
||||
.pfnAttemptConnection = BaseOutputPinImpl_AttemptConnection,
|
||||
.pfnDecideAllocator = testsource_DecideAllocator,
|
||||
};
|
||||
|
|
|
@ -876,11 +876,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
|||
.filter_destroy = testfilter_destroy,
|
||||
};
|
||||
|
||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
||||
IMemInputPin *peer, IMemAllocator **allocator)
|
||||
{
|
||||
|
@ -889,8 +884,6 @@ static HRESULT WINAPI testsource_DecideAllocator(struct strmbase_source *iface,
|
|||
|
||||
static const struct strmbase_source_ops testsource_ops =
|
||||
{
|
||||
.base.pin_query_accept = testsource_query_accept,
|
||||
.base.pin_get_media_type = strmbase_pin_get_media_type,
|
||||
.pfnAttemptConnection = BaseOutputPinImpl_AttemptConnection,
|
||||
.pfnDecideAllocator = testsource_DecideAllocator,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue