[PATCH 3/7] mfreadwrite: Forward GetPresentationAttribute() to descriptor when appropriate.

Nikolay Sivov nsivov at codeweavers.com
Mon Mar 18 23:51:57 CDT 2019


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/mfreadwrite/main.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/mfreadwrite/main.c b/dlls/mfreadwrite/main.c
index eca607574f..88482f7b96 100644
--- a/dlls/mfreadwrite/main.c
+++ b/dlls/mfreadwrite/main.c
@@ -317,8 +317,7 @@ static HRESULT WINAPI src_reader_GetPresentationAttribute(IMFSourceReader *iface
             }
             else
             {
-                FIXME("Unsupported source attribute %s.\n", debugstr_guid(guid));
-                return E_NOTIMPL;
+                return IMFPresentationDescriptor_GetItem(reader->descriptor, guid, value);
             }
             break;
         default:
-- 
2.20.1




More information about the wine-devel mailing list