[PATCH 6/6] mfplat: Forward CopyAllItems() for stream descriptor.

Nikolay Sivov nsivov at codeweavers.com
Wed Mar 13 01:29:37 CDT 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 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 27ca405175..d27d5ef12b 100644
--- a/dlls/mfplat/mediatype.c
+++ b/dlls/mfplat/mediatype.c
@@ -750,9 +750,8 @@ static HRESULT WINAPI stream_descriptor_GetItemByIndex(IMFStreamDescriptor *ifac
 
 static HRESULT WINAPI stream_descriptor_CopyAllItems(IMFStreamDescriptor *iface, IMFAttributes *dest)
 {
-    FIXME("%p, %p.\n", iface, dest);
-
-    return E_NOTIMPL;
+    struct stream_desc *stream_desc = impl_from_IMFStreamDescriptor(iface);
+    return IMFAttributes_CopyAllItems(&stream_desc->attributes.IMFAttributes_iface, dest);
 }
 
 static HRESULT WINAPI stream_descriptor_GetStreamIdentifier(IMFStreamDescriptor *iface, DWORD *identifier)
-- 
2.20.1




More information about the wine-devel mailing list