amstream: Return E_NOTIMPL from AMAudioStream::QueryInterface.
Signed-off-by: Anton Baskanov <baskanov@gmail.com> Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3667754aa2
commit
117e13e05e
|
@ -1073,7 +1073,7 @@ static HRESULT WINAPI audio_sink_QueryId(IPin *iface, WCHAR **id)
|
|||
static HRESULT WINAPI audio_sink_QueryAccept(IPin *iface, const AM_MEDIA_TYPE *mt)
|
||||
{
|
||||
TRACE("iface %p, mt %p.\n", iface, mt);
|
||||
return S_OK;
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI audio_sink_EnumMediaTypes(IPin *iface, IEnumMediaTypes **enum_media_types)
|
||||
|
|
|
@ -1989,7 +1989,7 @@ static void test_media_types(void)
|
|||
ok(!memcmp(pmt->pbFormat, &expect_wfx, pmt->cbFormat), "Format blocks didn't match.\n");
|
||||
|
||||
hr = IPin_QueryAccept(pin, pmt);
|
||||
todo_wine ok(hr == E_NOTIMPL, "Got hr %#x.\n", hr);
|
||||
ok(hr == E_NOTIMPL, "Got hr %#x.\n", hr);
|
||||
|
||||
CoTaskMemFree(pmt);
|
||||
|
||||
|
|
Loading…
Reference in New Issue