[PATCH 3/7] mfplat: Forward CopyAllItems() for presentation descriptor.
Nikolay Sivov
nsivov at codeweavers.com
Thu Mar 21 02:42:54 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 bdc476005a..272b1c2c87 100644
--- a/dlls/mfplat/mediatype.c
+++ b/dlls/mfplat/mediatype.c
@@ -1249,9 +1249,8 @@ static HRESULT WINAPI presentation_descriptor_GetItemByIndex(IMFPresentationDesc
static HRESULT WINAPI presentation_descriptor_CopyAllItems(IMFPresentationDescriptor *iface, IMFAttributes *dest)
{
- FIXME("%p, %p.\n", iface, dest);
-
- return E_NOTIMPL;
+ struct presentation_desc *presentation_desc = impl_from_IMFPresentationDescriptor(iface);
+ return IMFAttributes_CopyAllItems(&presentation_desc->attributes.IMFAttributes_iface, dest);
}
static HRESULT WINAPI presentation_descriptor_GetStreamDescriptorCount(IMFPresentationDescriptor *iface, DWORD *count)
--
2.20.1
More information about the wine-devel
mailing list