amstream/tests: Remove some no longer necessary callbacks.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
daa120309e
commit
dab1b7e758
|
@ -2394,11 +2394,6 @@ static const struct strmbase_filter_ops testfilter_ops =
|
||||||
.filter_cleanup_stream = testfilter_cleanup_stream,
|
.filter_cleanup_stream = testfilter_cleanup_stream,
|
||||||
};
|
};
|
||||||
|
|
||||||
static HRESULT testsource_query_accept(struct strmbase_pin *iface, const AM_MEDIA_TYPE *mt)
|
|
||||||
{
|
|
||||||
return S_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
static HRESULT WINAPI testsource_DecideBufferSize(struct strmbase_source *iface,
|
static HRESULT WINAPI testsource_DecideBufferSize(struct strmbase_source *iface,
|
||||||
IMemAllocator *alloc, ALLOCATOR_PROPERTIES *requested)
|
IMemAllocator *alloc, ALLOCATOR_PROPERTIES *requested)
|
||||||
{
|
{
|
||||||
|
@ -2418,8 +2413,6 @@ static HRESULT WINAPI testsource_DecideBufferSize(struct strmbase_source *iface,
|
||||||
|
|
||||||
static const struct strmbase_source_ops testsource_ops =
|
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,
|
.pfnAttemptConnection = BaseOutputPinImpl_AttemptConnection,
|
||||||
.pfnDecideBufferSize = testsource_DecideBufferSize,
|
.pfnDecideBufferSize = testsource_DecideBufferSize,
|
||||||
.pfnDecideAllocator = BaseOutputPinImpl_DecideAllocator,
|
.pfnDecideAllocator = BaseOutputPinImpl_DecideAllocator,
|
||||||
|
|
Loading…
Reference in New Issue