Nikolay Sivov : mfplat: Forward CopyAllItems() for stream descriptor.

Alexandre Julliard julliard at winehq.org
Wed Mar 13 18:10:51 CDT 2019


Module: wine
Branch: master
Commit: 78936b928543a0a6cc0d69511a4f0886f675b060
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=78936b928543a0a6cc0d69511a4f0886f675b060

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Mar 13 09:29:37 2019 +0300

mfplat: Forward CopyAllItems() for stream descriptor.

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 27ca405..d27d5ef 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)




More information about the wine-cvs mailing list