Commit 7ee1b20d authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

mp3dmod: Implement IMediaObject::GetInputStreamInfo().

parent 06fa9bd3
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment