mp3dmod: Implement IMediaObject::GetOutputStreamInfo().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7ee1b20d0d
commit
5d4ff5594c
|
@ -154,9 +154,11 @@ static HRESULT WINAPI MediaObject_GetInputStreamInfo(IMediaObject *iface, DWORD
|
|||
|
||||
static HRESULT WINAPI MediaObject_GetOutputStreamInfo(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_GetInputType(IMediaObject *iface, DWORD index, DWORD type_index, DMO_MEDIA_TYPE *type)
|
||||
|
|
|
@ -306,6 +306,11 @@ static void test_stream_info(void)
|
|||
ok(hr == S_OK, "Got hr %#x.\n", hr);
|
||||
ok(!flags, "Got flags %#x.\n", flags);
|
||||
|
||||
flags = 0xdeadbeef;
|
||||
hr = IMediaObject_GetOutputStreamInfo(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