Nikolay Sivov : mfreadwrite: Forward GetPresentationAttribute() to descriptor when appropriate.

Alexandre Julliard julliard at winehq.org
Tue Mar 19 17:09:21 CDT 2019


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Mar 19 11:17:32 2019 +0300

mfreadwrite: Forward GetPresentationAttribute() to descriptor when appropriate.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 eca6075..88482f7 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:




More information about the wine-cvs mailing list