mp3dmod: Implement IMediaObject::GetInputStreamInfo().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
06fa9bd3f7
commit
7ee1b20d0d
|
@ -145,9 +145,11 @@ static HRESULT WINAPI MediaObject_GetStreamCount(IMediaObject *iface, DWORD *inp
|
|||
|
||||
static HRESULT WINAPI MediaObject_GetInputStreamInfo(IMediaObject *iface, DWORD index, DWORD *flags)
|
||||
{
|
||||
FIXME("(%p)->(%d, %p) stub!\n", iface, index, flags);
|
||||
TRACE("iface %p, index %u, flags %p.\n", iface, index, flags);
|
||||
|
||||
return E_NOTIMPL;
|
||||
*flags = 0;
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
static HRESULT WINAPI MediaObject_GetOutputStreamInfo(IMediaObject *iface, DWORD index, DWORD *flags)
|
||||
|
|
|
@ -301,6 +301,11 @@ static void test_stream_info(void)
|
|||
ok(input_count == 1, "Got input count %u.\n", input_count);
|
||||
ok(output_count == 1, "Got output count %u.\n", output_count);
|
||||
|
||||
flags = 0xdeadbeef;
|
||||
hr = IMediaObject_GetInputStreamInfo(dmo, 0, &flags);
|
||||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
ok(!flags, "Got flags %#x.\n", flags);
|
||||
|
||||
IMediaObject_Release(dmo);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue