Commit 2d7c37da authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard
parent 8a52d3e9
......@@ -6665,9 +6665,7 @@ static void test_h264_decoder(void)
goto failed;
hr = IMFTransform_GetAttributes(transform, &attributes);
todo_wine
ok(hr == S_OK, "GetAttributes returned %#lx\n", hr);
if (hr != S_OK) MFCreateAttributes(&attributes, 0);
hr = IMFAttributes_SetUINT32(attributes, &MF_LOW_LATENCY, 1);
ok(hr == S_OK, "SetUINT32 returned %#lx\n", hr);
IMFAttributes_Release(attributes);
......
......@@ -119,7 +119,7 @@ static HRESULT WINAPI transform_GetOutputStreamInfo(IMFTransform *iface, DWORD i
static HRESULT WINAPI transform_GetAttributes(IMFTransform *iface, IMFAttributes **attributes)
{
FIXME("iface %p, attributes %p stub!\n", iface, attributes);
return E_NOTIMPL;
return MFCreateAttributes(attributes, 0);
}
static HRESULT WINAPI transform_GetInputStreamAttributes(IMFTransform *iface, DWORD id, IMFAttributes **attributes)
......
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