wmvcore: IWMProfile3 GetStreamCount return zero streams.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7891e1d714
commit
877f8aa32c
|
@ -1756,7 +1756,12 @@ static HRESULT WINAPI profile3_GetStreamCount(IWMProfile3 *iface, DWORD *count)
|
||||||
{
|
{
|
||||||
WMReader *This = impl_from_IWMProfile3(iface);
|
WMReader *This = impl_from_IWMProfile3(iface);
|
||||||
FIXME("%p, %p\n", This, count);
|
FIXME("%p, %p\n", This, count);
|
||||||
return E_NOTIMPL;
|
|
||||||
|
if (!count)
|
||||||
|
return E_INVALIDARG;
|
||||||
|
|
||||||
|
*count = 0;
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI profile3_GetStream(IWMProfile3 *iface, DWORD index, IWMStreamConfig **config)
|
static HRESULT WINAPI profile3_GetStream(IWMProfile3 *iface, DWORD index, IWMStreamConfig **config)
|
||||||
|
|
Loading…
Reference in New Issue