Nikolay Sivov : mfplat: Forward CopyAllItems() for media type as well.
Alexandre Julliard
julliard at winehq.org
Fri Mar 8 19:41:09 CST 2019
Module: wine
Branch: master
Commit: 0b2db93910da952c9084a559366f3f1cfad3c173
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0b2db93910da952c9084a559366f3f1cfad3c173
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Fri Mar 8 09:57:43 2019 +0300
mfplat: Forward CopyAllItems() for media type as well.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mfplat/mediatype.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/mfplat/mediatype.c b/dlls/mfplat/mediatype.c
index 7470d40..974ab3a 100644
--- a/dlls/mfplat/mediatype.c
+++ b/dlls/mfplat/mediatype.c
@@ -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)
More information about the wine-cvs
mailing list