mfplat: Forward CopyAllItems() for media type as well.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-03-08 09:57:43 +03:00 committed by Alexandre Julliard
parent b80ace81fc
commit 0b2db93910

View file

@ -302,9 +302,8 @@ static HRESULT WINAPI mediatype_GetItemByIndex(IMFMediaType *iface, UINT32 index
static HRESULT WINAPI mediatype_CopyAllItems(IMFMediaType *iface, IMFAttributes *dest)
{
FIXME("%p, %p.\n", iface, dest);
return E_NOTIMPL;
struct media_type *media_type = impl_from_IMFMediaType(iface);
return IMFAttributes_CopyAllItems(&media_type->attributes.IMFAttributes_iface, dest);
}
static HRESULT WINAPI mediatype_GetMajorType(IMFMediaType *iface, GUID *guid)